
Chapter 1. Installing the software
Warning
usermod’s -G option sets the user’s groups. It does not add to
them. You must quote all the user’s groups. Any groups the user
was previously in that are not quoted will be lost by the user.
Suppose alice is in group alpha already. Then to add her to webadmin we must
state that she is in webadmin and alpha.
# usermod -G alpha,webadmin alice
If bob is in no other group, then the command used is easier.
# usermod -G webadmin bob
Note: The users will have to log in again to pick up the groups they have been added
to.
9
Komentarze do niniejszej Instrukcji