0% found this document useful (0 votes)
25 views23 pages

Manage User Account

06. Manage User Account

Uploaded by

Rubi Kumari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views23 pages

Manage User Account

06. Manage User Account

Uploaded by

Rubi Kumari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

 A user is another name of an account capable

of logging into a computer.


 A user is a individual who uses the available
hardware and software resources.
 1. System User (Privilege/Administrative)
 2. Normal User (Non-privilege/Secondary)
 It is created by OS automatically.
◦ Eg.
 Root or Administrator
 It is created by privilege/Administrator user
◦ Eg
◦ Student,Sachin,Ajay
 User Properties - /etc/passwd
 Password Properties - /etc/shadow
#useradd ajay
#grep ajay /etc/passwd

ajay:x:1001:1001: :/home/ajay:/bin/bash
#passwd ajay
#grep ajay /etc/shadow

ajay:@s$!1bc25f%:18002:0:99999:7: : :
#su ajay
#exit

Or

Press “ctrl+d” Key


#userdel ajay
#userdel -r ajay
We can modify existing user account property
with following command
#usermod -u 2010 ajay
#mkdir /mnt/india
#usermod -d /mnt/india ajay
#usermod -c “manager” ajay
#usermod -l devgn ajay
#usermod -s /sbin/nologin ajay
#usermod -L ajay
#usermod -U ajay
#usermod -e 2020-02-15 ajay

You might also like