TECH TROUBLE? JUST TYPE TECH DHEE

Saturday, 28 December 2019

How to Create a New User with sudo Permission in Kali Linux? | TECH DHEE


How to Create a New User with sudo Permission in Kali Linux? 


✔️ Create a New Normal User by command below:
 
➥ adduser <username>

✔️ Chanage the user password:

         ➥ passwd <username>

✔️ Now, Add user to sudo group (This allows user to install software or other permissions)

         ➥usermod -a -G sudo <username>
➥ usermod is used for make changes to an existing user

        ➥ -a means add
        ➥ -G  means to group
➥ sudo is Group in kali Lionux bydefult

✔️ Now, we have to specify the shell for our new user.


         ➥ chsh -s /bin/bash testuser
         ➥ chsh means change shell
         ➥ -s (-shell) specified shell for new accounts, in this case /bin/bash

That is it! Now Your New User Working Like root!!!!


=====================================
LIKE || COMMENT || SHARE || SUBSCRIBE!!!!!!
=====================================
↬ Subscribe: http://bit.ly/2ESKEst
↬ Patreon : https://www.patreon.com/techdhee
↬ Youtube:   http://www.youtube.com/techdhee
↬ Facebook:  https://www.facebook.com/techdhee
↬ Twitter:   https://twitter.com/tech_dhee
↬ Website:   https://www.techdhee.in

0 comments:

Post a Comment