sabato 29 ottobre 2016

Adding a new user in Kali Linux



If we follow the correct process of adding a user in Kali, then this should not be an issue. And yes, this method remains the same for Debian, Ubuntu and Mint based machines...
The process is as follows:
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
That's it... Hope it helps

Nessun commento:

Posta un commento