Tech Crazy Hacks, Tricks & Tips

How To Add a New User In Kali Linux

Adding a New Non-Root User in Kali Linux

To create a standard user on Kali Linux, follow these some easy 6 steps:

1. Open a terminal using Ctrl+Alt+T or clicking on the icon – logged in as root

2. Add a new user using:

#useradd -m username

-m to create the user’s home directory

3. Create a password for the user:

#passwd username

4. Add the user to the sudo group (to install software etc):

#usermod -a -G sudo username

-a to add and -G mentions the group name to be added to

5. Now finally change the default shell of the newly added user to bash:

#chsh -s /bin/bash username

-s to provide a new login shell for the user account

6. To switch user using the “su” command:

#su username

Update Kali Linux System

You should update Kali Linux system as soon as posible with every restart or make some core changes for more stability and security.

#sudo apt-get update

Your password for su username is required.

How To Add a New User In Kali Linux
Article Name
How To Add a New User In Kali Linux
Adding a New Non-Root User in Kali Linux. Follow these easy 6 steps to switch to another created new user using "su"command in Kali Linux.
Publisher Name

4 thoughts on “How To Add a New User In Kali Linux

  1. The archives list only three months of activity here; Jan 2019, Feb 2019, and Dec 2019. What happened? Did you lose interest in Kali Linux? If so, it is a shame as you were doing such a good job providing instruction. Is the site still active?

Leave a Reply

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