HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

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

52,236 views October 26, 2019 5:45

Watch on YouTube
ChannelTechMeSpot

Description from the creator

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
======================================
YouTube Subscribe: goo.gl/4lCCN8
Twitter: twitter.com/techmespot
Website: techmespot.com

#Create #NewUser #KaliLinux

About this tutorial

TechMeSpot published this 5:45 video tutorial on October 26, 2019. It has been watched 52,236 times on YouTube.

Channel
TechMeSpot
Duration
5:45
Published
October 26, 2019
Views
52,236
Likes
612

Tags

Share

This tutorial in other languages