All commands
gpasswd
Topic: Users
Program: gpasswd
Adds a user to a group or removes them.
Package: users
Usage
gpasswd -a LOGIN GROUP | -d LOGIN GROUP
Description
Change the member list of GROUP in /etc/group and /etc/gshadow. Only root may do this here.
Options in the simulator
-
-a, --add=LOGIN put LOGIN on the member list -
-d, --delete=LOGIN take LOGIN off the member list -
-h, --help show this help and exit
5 more options of the real program, not in the simulator yet
-
-Q, --root needs a value not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-r, --remove-password not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-R, --restrict not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-M, --members needs a value not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
-
-A, --administrators needs a value not in the simulator yet This option exists on a real system; the simulator cannot do it for this command yet.
Where you learn it
No lesson yet.
All commands