So you want to change the administration password and then take the administrator priviledges right?
Quote:
|
Originally Posted by extra.fine student@debian:~$ passwd |
In that case this above is wrong because it will change only the password for user "student" and we would need to change the password for user "root".
Change the administrator's (root user's) password like this:
Code:
[lappi@b-205-110 ~]$ sudo passwd
Password:[your own password]
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[lappi@b-205-110 ~]$
Note that it doesn't show anything when you type the passwords. This of course assumes that you have the right to change the root's password (your username is in sudoers list).
Then just
Code:
[lappi@b-205-110 ~]$ su
Password:[root's password]
[root@b-205-110 lappi]#