Although you can add user and remove a user from GUI very quickly, it’s not much fun. Moreover, Linux is all about of terminal, so in this article, we will use CLI to add delete and change password for the user in Ubuntu.
Don’t miss out
How to add delete change user password Kali Linux
To add delete or change password for a user just goto dashboard and type user account and press enter. In the user window unlock the username you want to edit by click on the lock button on the top and then make changes you want.
To add new user
Open the terminal and type in the following command
sudo adduser username
Here replace the keyword username with the new user, that you want to add. You will next be asked password for authorization , password for the new user you have just added and some basic details. After entering them click on Y for confirm and new user will be added. Check out the following snapshot for example.
To remove existing user
sudo deluser username
To Change user password of current user type
To change password of any other user type
Replace username with the name of the user whom you want to change the password.
Check this out 👇
That’s it for now.
If you liked this article, then please subscribe to my YouTube Channel for video tutorials.