Results 1 to 3 of 3

Thread: Cant make users Kali 2.0

  1. #1
    Join Date
    2014-Jun
    Posts
    2

    Cant make users Kali 2.0

    I don't know if i'm the only one having this issue but weather its the command line or GUI i can never login under a different user name. I tried to make a non root user through CLI, when logged out and tried to login under the new identity it did not recognize it. I removed it and tried again through the GUI, when i tried to set the password for the new identity the add button was disabled. When i checked the radio button to allow the user to set it next time they logged in the Add button was enabled. So i log out and try it again, i get to the password screen, no matter what i type the system will not recognize it. So i am now stuck with root access. What is happening?

  2. #2
    Join Date
    2015-Jul
    Location
    /home/duxim
    Posts
    408
    1. Open a terminal - logged in as root

    2. Add a new user using: #useradd -m yourusername

    -m to create the user's home directory

    3. Create a password for the user: #passwd yourusername

    4. Add the user to the sudo group (to install software etc): #usermod -a -G sudo yourusername

    -a to add and -G mentions the group name to be added to

    5. Now finally change the default shell of the newly added user to bash: #chsh -s /bin/bash yourusername

    -s to provide a new login shell for the user account

  3. #3
    Join Date
    2015-Oct
    Location
    /dev/random
    Posts
    22
    You can do it all on one line with:

    useradd -m -g kali -G kali,sudo,wheel -s /bin/bash kali

    where -g creates group 'kali' and final 'kali' is new username.
    Then change password for user 'kali' with:

    passwd kali

    Log out and in with new username.
    Note that not everything will work in kali with non root user account.

Similar Threads

  1. Kali for ordinary users
    By AllexFer in forum General Archive
    Replies: 5
    Last Post: 2018-10-16, 16:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •