How to: Erstelle einen normalen Nutzer mit Sudo Berechtigung in Kali Linux

Kali Linux, the pentesters Linux does not need an introduction.
Today, I will show you how to create a normal user under Kali Linux. You might ask, „Why would someone want to create a normal/standard user in Kali? What’s wrong with root only?“
Well, simply saying, being root all the time is not so good. Some applications won’t work in root. (Google chrome won’t work in root by default). If you want to use Kali as a day to day operating system, I’d suggest you to create a standard user and use it. If you want to do pentesting and stuff, you could „sudo“ or just log in as root.

Note: This procedure can be used in any Linux distro to add a normal user. That includes ubuntu, Linux mint, or even Centos

Here’s how you will create a normal user:

  1. Open a terminal and issue the following command.

    creates a home directory for the user.
  2. Now we have to set a password for the user.

    It will ask you to create a new password.
  3. At this point, we have a new user account.
    But we might want to add our new user to the „sudoers“ group, so that we can use „sudo“ to do administrative actions.

    The option -a means to add and -G sudo means to add the user to the sudo group. If you want to know more about the usermod command, issue  #man usermod command to know more about usermod

     

  4. Now we have to specify the shell for our new user.

    chsh command is used to change the login shell for a user.

  5. All done.! you are all set. You could logout and login to your new account.

Quelle: http://digitz.org/blog/how-to-create-new-normal-user-with-sudo/

Leave a Reply