How to add/remove a non-root user in Kali Linux 2017.2
Standard Users and Super Users in Linux
It is common practice in most Linux distributions to work from a normal user who does not have superuser privileges. When these privileges are necessary, then, depending on the distribution, use the sudo command or the superuser login su – . In Kali Linux, by default, all the work is under the root. There is an explanation for this – many tools in the distribution kit require rooting rights, and Kali Linux users are usually not newbies, and they understand how to work safely and not destroy the system.
Nevertheless, enough people are annoyed by the constant work under the superuser. This tutorial will show you how to add and remove users (standard ones that are not root) in Kali Linux.
The advantages of a standard user in Kali:
Logging in under the normal user you get several benefits in Kali
- Installing and running Google Chrome, vlc
- Install and run the Gnome user and group manager (install gnome-system-tools)
- Use Kali as the main operating system without the constant worry of breaking it. Note: it’s safe to use normal user instead of using root.
Adding a Kali Linux user:
- Open the terminal and type the following there to create a new user
useradd –m ddos
- Now set the password for this user
passwd ddos
- Add a user to the sudo group (so that the user can install the software, use the printer, use the privileged mode, etc.)
usermod –a –G sudo ddos
Removing a User in Kali Linux:
- Open the terminal and type:
userdel –r ddos