LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.





Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.



gpasswd

gpasswd [options] group

Change group password. May only be used by an administrator. Uses the encryption algorithm from the GROUP_CRYPT environment variable, falling back to the CRYPT variable set in /etc/default/passwd. If neither of those is set, DES is used.

Options

-a

Add a new group.

-d

Delete a group.

-M

Create members of the group.

-R

Disable access to the group. Also prevent creation of a new group with the same name.

-r

Remove the password entirely.