Re: How to configure sshfs ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim:
>> Scripting to automate changing membership?  You'd probably, also, want
>> to script the user-adding routine for the future, to add new users to
>> the groups you use on your system.


Paul Johnson:
> You are making this way too hard.  Even if I could figure it out, I
> could never teach a part time lab assistant.

"usermod"

e.g. usermod -a -G fuse pauljohnson

-a (append)
-G (list supplementary groups to belong to, e.g. fuse)

It's not very hard.  It's just one of those things you do when using a
computer.  No worse than learning to type your name and password
correctly when you log in.  It's all part of configuring a system.

If you can't figure out how to automate that, I'm sure someone could
tell you how to feed a list of names to it so they're all processed.
The only hard part is going to be preparing that list of names, in the
first place.  Though, that shouldn't be very hard if you intend adding
all users to the group.  For Linux, that's every name in the /etc/passwd
file (the first word) with a user id greater than 499 (the third
parameter in the file).

But you probably already have a list of users, somewhere, for when you
originally created all the user accounts.  Use that again.

-- 
[tim@bigblack ~]$ uname -ipr
2.6.22.1-41.fc7 i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5.  Today, it's FC7.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux