Lesson 3/13
Managing users and groups on Ubuntu
Master user and group management on Ubuntu from the command line. The essential commands, permissions, creating and modifying accounts, explained step by step for both server and desktop.
☰
Contents
22
▾
0:00 Introduction to user management 0:33 Understanding UID and GID 0:46 The /etc/passwd file explained 1:27 Passwords in /etc/shadow 1:57 System and user ID ranges 2:32 The id command for account details 2:53 Creating a user with useradd 3:24 Setting the user's password 3:44 Creating the home directory by hand 4:30 The simpler way, with adduser 5:39 Switching between user accounts 6:04 Deleting users and their folders 7:00 Modifying a user with usermod 7:22 Changing the home directory 8:08 Moving the folder with the -m option 8:57 Changing the user's shell 9:36 Locking and unlocking accounts 10:31 Managing system groups 11:02 Creating the dev and accounts groups 11:22 Adding a user to a group 12:03 Removing a user from a group 12:49 Understanding sudo and root privileges