From the course: LPI Linux Essentials (010-160) Cert Prep

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating accounts from the shell

Creating accounts from the shell - Linux Tutorial

From the course: LPI Linux Essentials (010-160) Cert Prep

Start my 1-month free trial

Creating accounts from the shell

- [Instructor] In this lesson, I want to show you how to create a new user account from within your shell. So I'm already logged into my terminal here as my standard user of diontraining. If I want to create a new user, I have to do that using sudo. Because I have to be a root or an admin to create new users on a system. So let's go ahead and use sudo. We're going to use adduser, which is the command we want to use, and the person's name that we want to add. Let's say I want to add jasondion as a new account on the system. I go ahead and do that and hit Enter. And up, it's going to ask for a new UNIX password. What is the password I want, jasondion to log in with? So I'm just going to go ahead and type in password. And I'm going to go ahead and type in password again. You could choose whatever password you want. And hopefully it's something big and long and strong. Now, by doing that, I've changed the user…

Contents