Manage User and Group Accounts (Console)
Page 1 of 1
Manage User and Group Accounts (Console)
Below are the console commands to manage the user and group accounts. These requires root level access.
/usr/sbin/useradd [options] login_name
creates a new user
/usr/sbin/usermod [options] login_name
modifies a user’s attributes
/usr/sbin/userdel [options] login_name
deletes the specified user. Use the -r option to automatically remove the user’s home directory and mail spool.
/usr/bin/passwd login_name
sets the password for the specified user
/usr/sbin/groupadd [options] group_name
creates a new group
/usr/sbin/groupmod [options] group_name
modifies a group’s attributes
/usr/sbin/groupdel group_name
deletes the specified group
/usr/sbin/useradd [options] login_name
creates a new user
/usr/sbin/usermod [options] login_name
modifies a user’s attributes
/usr/sbin/userdel [options] login_name
deletes the specified user. Use the -r option to automatically remove the user’s home directory and mail spool.
/usr/bin/passwd login_name
sets the password for the specified user
/usr/sbin/groupadd [options] group_name
creates a new group
/usr/sbin/groupmod [options] group_name
modifies a group’s attributes
/usr/sbin/groupdel group_name
deletes the specified group
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|