From the course: Ubuntu Linux: User and Group Management

Unlock the full course today

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

Modify and delete user accounts

Modify and delete user accounts

From the course: Ubuntu Linux: User and Group Management

Start my 1-month free trial

Modify and delete user accounts

- [Instructor] We can change some of the attributes of a user account after it's been created. We set the password already, but it's a good idea for the user to change it to something they know. And they can do that with the password command. I'll switch over to the user that I just created with switch user and the username. And I'll type in the password that I set. Now as the user, I can use the password command, passwd. I'll need to type in my current password and then I'm prompted to enter a new UNIX password. This is something that the administrator won't know. If the password's long enough, complex enough, and if you verify it correctly the password will be updated. I'll exit back to my other user here. As the administrator, I can change the user's password as well in case they forget also with the password command. I don't need to type in their current password. This is helpful if a user forgets their login password and needs it to be reset. The user or the administrator can…

Contents