Ubuntu user management command line

ubuntu manage user command line

Change user password
To change self password
#passwd
To change other user password
#passwd username

Removes the user’s home directory as well as deleting the user
#sudo userdel -r [username]

Add new user:
#sudo adduser <username>

Add user to admin
#sudo adduser <username> admin

Add user to sudoer
#visudo

Switch user
sudo <username>

By Keenlio, November 14, 2014

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *


one + 7 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>