How to Add and Delete Users on Debian 8

How to Add and Delete Users on Debian 8

One of the most basic tasks that you should know how to do on a fresh Linux server is add and remove users. When you create a new system, you are often only given the root account by default. While running as the root user gives you a lot of power and flexibility, it is also dangerous and can be destructive. It is almost always a better idea to add an additional, unprivileged user to do common tasks. You should then create additional accounts for any other users you may have on your system.

[…]

You can see what groups your new user is in with the groups command:

[…]

You can execute commands with administrative privileges by typing sudo in front of the command:

[…]