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.

Modifying and deleting accounts

Modifying and deleting accounts - Linux Tutorial

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

Start my 1-month free trial

Modifying and deleting accounts

- [Instructor] In this lesson we're going to talk about modifying and deleting accounts. So in our last lesson, I created two new accounts as we saw by going through and we created jasondion and jason, as you see here on the screen. Now, what if jason or jasondion forgot their password? How can we reset that? Well if we're the system administrator we can do that for them. To do that we are going to use sudo to run the command as root. We're going to use the password command and then if we give it an argument we can change the password for that person. So for example, I want to change the password for jason. I can go ahead and type in jason, enter the new password. I could set to whatever I want. One, two, three, four, five. What's his new password? One, two, three, four, five and hit Enter. His password has now been reset to one, two, three, four, five. Notice the power here, as the root user I didn't even need to…

Contents