ROOT Commands

 

Add new User in Linux OS:
useradd user_name

Set and Change Password for Linux OS Level User:
passwd user_name

Delete for Linux OS Level User:
userdel user_name

List of All OS Level Users:
cat /etc/passwd

Switch to the User:
su - user_name
su user_name


Switch to the root User:
su

Logout Users:
logout
exit


Hints:

Root Privileges User:
#

Normal User:
$

Manual Information Command:

man useradd      //exit manual pages press ‘q’

Comments