课程: Ubuntu Linux: User and Group Management

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Modify and delete user accounts

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…

内容