A blog for technology, SEO tips, website development and open source programming.

How to add delete change user password Kali Linux

1 26,208

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 Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu

Find Out Who’s Tracking You Through Your Smartphone

Ubuntu Apps after fresh install

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

passwd  

To change password of any other user type

passwd username

Replace username with the name of the user whom you want to change the password.

Check this out 👇

How to change the default shell on macOs terminal? – Video example

That’s it for now. 

If you liked this article, then please subscribe to my YouTube Channel for video tutorials.

You can also find me on Twitter and Facebook.

1 Comment
  1. Sin Cuinta says

    This doesn’t work for root because the password is reset after reboot.

Leave a Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More