How to add user in kali linux 2020
How to add a new user in KALI LINUX :
Steps :
1. Open default terminal
2. Type this command in teminal:' adduser yourpreferredusername '
3. Add your preferred password and retype your password for confirmation
4.Enter the values if you want you can skip to default by pressing enter
Now you can switch to the new NON-ROOTED user you have just added
Type your new username and new password you've just created
Check and delete user any added user from KALI LINUX:
Steps :
1. Open your teminal & type this command or you can just copy it ' cut -d: -f1 /etc/passwd '
You can find all users at the bottom of the list
2. type ' userdel -r usernameyouwanttodelete '
3. If you see this line after the above command 'user username is currently used by process 1234(any number of process you can see)
4. Type this command line to kill the used process ' kill -9 (your processed number) '
use the above command line untill you get this line 'newuser mail spool (/var/mail/username) not found
5.Your user has been deleted. Now you can enter this commandline again for confirmation 'cut -d: -f1 /etc/passwd'
Ask fo any Queries below. Thank you
0 Comments