How to Create a New User with sudo Permission in Kali Linux?
First, Right click on the Desktop, and then click on 'Open in Terminal' to Open Terminal. After that, follow the steps below:-
Step 1: Create a New Normal User by command below:-
useradd -m testuser
#-m creates a home directory for the user.
Step 2: Set password for the user:-
passwd testuser
Step 3: Now, Add user to sudo group (This allows user to install software, use the printer etc.)
usermod -a -G sudo testuser
# -a means add
#-G sudo means to add the user to sudoers group
Step 4: Now, we have to specify the shell for our new user.
chsh -s /bin/bash testuser
# chsh means change login shell
# -s means, it is the name of the shell you want for the user, in this case /bin/bash
It's done
Thanks for watching, please like and subscribe
==============================================
https://www.facebook.com/HowtoTutorialsByAmit/
Related videos
BlackEye With Ngrok - Easily Create Phishing Pa...
Mohamed Atwah
How to Delete a User in Kali Linux?
TechTips
Unreal Engine 4 Complete Tutorials - Tutorial 4...
PRDV Entertainment
How to create the wordlist or password list in...
PnPtutorials
Install and Configure Nessus on Kali Linux | 'C...
linuxhacks
Episode #21: HowToForge Linux Tutorials
Dean Soto
How to setup a PPTP VPN server on Linux -- VPS...
panduanvps
Learn IT Guide Tutorials | Linux, Openstack, De...
Learn IT Guide Tutorials
Basic Kali Linux Commands Tutorial
Mohamed Atwah
How To Hack WPA_WPA2 Wifi on Kali Linux Using W...
New Technology Updates
Kali Linux Install Tutorial _ NEW! Undercover M...
Free Courses YT
Kali Linux Terminal Customization Tutorial
SOLEYMAN