Book Image

Hands-On Linux System Administration [Video]

By : Jack-Benny Persson
5 (1)
Book Image

Hands-On Linux System Administration [Video]

5 (1)
By: Jack-Benny Persson

Overview of this book

Have you only come into brief contact with Linux before, but now you need to set up or maintain a Linux server? Then this course is for you. With this course you'll learn how to master any Linux machine. Control and master the administration of a Linux machine, whether a workstation or a server. You'll learn how to set up services, monitor the system, perform backups, and schedule common tasks. By the end of the course you will be ready to start your career as a Linux system administrator. The code bundle for this video course is available at: https://github.com/PacktPublishing/Hands-on-Linux-System-Administration
Table of Contents (6 chapters)
Chapter 4
User Management and Permissions
Content Locked
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.