Chapter 4
User Management and Permissions
Section 1
Creating and Removing Users
In this video we will learn how to create and remove users from the system. We also learns how to automatically create the new users home directory, what skeleton files are and so on. - First of all we create a new user with the useradd command. We also use a set of options to automatically create a new group for the user with the same name, and make the user a member of that group. - Next up with set a password for the new user. We also try to login as the new user on the system, and check out that everything has worked out. - As a final step we remove both the user, the group that was created with the user, as well as the user’s home directory.