Featured

    Featured Posts

Modifying users

To modify existing user accounts using the GUI tool, click on the “System Setting” button on the left side of your screen. In the window that opens type “user“. This should find the GUI tool called “User accounts“:
modifying users ubuntu 1
In the window that opens click on the “Unlock” button in the upper right corner. You will need to provide the superuser password.
modifying users ubuntu 2
Next, click on the user you would like to modify. You can modify the user’s account type, language, password and automatic login option:
modifying users ubuntu 3
Modifying users using the usermod command
To modify an existing user the usermod command is used. Using this command you can change the user’s home directory location, login name, default shell, etc. You can lock and unlock a user. This command accepts a number of options:
linux usermod options
Here is an example. If we want to change the login name of the user “jwillams” to “jowilliams“, we can use the usermod command with the -l option:
linux usermod command


NOTE – one of the most frequent account modifications in Linux is to change a user’s password. You can do this with the passwdprogram. Simply type the sudo passwd USERNAME command. For example, to change the password of the user jwilliams, simply typesudo passwd jwilliams. This will open up the prompt where you can enter the new password.
author

Author Name

Author Description!

Get Free Email Updates to your Inbox!

Post a Comment

www.ccna.ma

yu
Powered by Blogger.

Translate

Copyright © Learn Linux Th3pro.xyz | Blogger Templates | Designed By Code TAOUSSI