How to add non-root user on kali linux

 How to add non-root user on kali linux
 How to add non-root user on Kali Linux

How to add non-root user on Kali Linux

Intro.

In this tutorial, we are learning How to add non-root users on Kali Linux. So we're use adduser Tool. This tool comes on all OS as a pre-Install. It's very essay to use this tool

About the "Adduser Tool"

This tool simply use to add a user or group to the system.
adduser and addgroup add users and groups to the system according to command-line options and configuration information in /etc/adduser.conf. They are friendlier front ends to the low-level tools like useradd, groupadd and usermod programs, by default choosing Debian policy conformant UID and GID values, creating a home directory with skeletal configuration, running a custom script, and other features. adduser and addgroup can be run in one of five modes:





  • Add a normal user
  • Add a normal user
  • Add a normal user
  • Add a system group
  • Add an existing user to an existing group

  • Add user on Kali Linux

    So How to add non-root users on Kali Linux. Simply follow my all steps and commends.


    Step 1.

    Open Your Kali Linux terminal and type following command

    Type: man abuser
     
    This commend show you more options and give you more knowledge

    Step 2. Open terminal

    Open your Kali Linux terminal and type "adduser --home /(user name) (retype user name)" 
     
    In my case, I create vksingh user on Kali Linux so my commend is "adduser --home /vksingh vksingh" and hit enter

     How to add non-root user on kali linux
    "adduser --home /(user name) (retype user name)"

    Step 3. Type Password

    After type commend it's asking password so type a strong password and different to user name

    New Password:*******
    Retype New Password:******

     How to add non-root user on kali linux

    Type Password


    Step 4. Changing the user information for your User

    After the successfully updated password Fill Some more useful information for your user

    Hit Enter for Skip any Information

    Full Name:
    Room Number:
    Work Number:
    Home Number:
    Other:


    Step 5.

    In this step, it's asking you for "Is the information correct? [Y/n]

    Y: y use for Yes it means all information correct

    N: n use for No it means all information is not correct 

    So type y and hit enter

     How to add non-root user on kali linux
    Type Y for yes

    Step 6. Check all user-id

    After the create a user id. and you want to confirm the user is created and not. Two Method we have to check it

    First Method for check user-created and Not

    Simple Click on log out button and click on "Switch user" and type your new user name and type your new password and hit enter

    Second Method for check user-created and Not

    Open terminal and type "Sudo apt-get update " and hit enter
    Now type "users" and hit Enter. and all user show on your terminal screen just like showing on the picture

     How to add non-root user on kali linux
    Type: users

    If you have any problem comment on your problem. I try to solve your problem very soon and give a reply very fast


    Thank You

    Give Same Suggestion