UniversalTechSupport
Welcome To UniversalTechSupport

Manage User and Group Accounts (Console)

Go down

Manage User and Group Accounts (Console)

Post by Admin on Thu Apr 03, 2014 2:34 am

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

Admin
Admin

Posts : 181
Join date : 2013-11-13

View user profile http://universaltechsupport.4rumer.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum