groupadd
● This command will add a new group to /etc/group.
● The following will create a new group:
# groupadd -g 1024 groupname
● The -g option allows you to pick the group ID number.
● If you do not use this option, then the system picks the next available sequential number greater than 500.
● The -o option allows the group ID to be nonunique.
○ This allows multiple names for the same group ID
Groupdel
● This command is analogous to userdel.
● This command will take a group name as an argument and remove the group.
# groupdel groupname
groupmod
● This command can change the name of the group or the group ID.
# groupmod -g 1025
groupname
# groupmod -n
8/25/2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment