From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep

Unlock this course with a free trial

Join today to access over 24,400 courses taught by industry experts.

Create, delete, and modify local user accounts

Create, delete, and modify local user accounts

- [Instructor] Now let's look at how to create, delete, and modify local user accounts in Linux. Each person that needs to log into our Linux server should have their own separate user account. This allows them to have personal files and directories protected by proper permissions. They also get to choose their own settings for whatever tools they use, and it also helps us as administrators. We can limit the privileges of each user based on what they require to do their job. This can sometimes reduce or prevent the damage when somebody accidentally writes the wrong command and it can help with the overall security of the system. It will be up to us to manage these user accounts, which are sometimes simply called users. So let's dive right in and see how to create a new user on a Linux system. The command that lets us add a new user is intuitively called adduser, and the simplest form we can use is sudo adduser John, where John can be replaced with whatever username we want to choose…

Contents