Linux change root password example
Linux Change root Password.
The step by step article on Linux change root password below show the step that you need to take to change root password. Please note that only root user can change root password, so you need to login as root or use su command and then change root password. If you lost your root password this article on how to reset root password may help you to reset root user password.
Linux change root password example:
1. Open the shell terminal, type in su - command then hit 'Enter' key to be as root user on your Linux system.

[linux@fedora11 ~]$ su -
Password:
[root@fedora11 ~]#
2. then type in passwd command as show on example below to change root user password, make sure that you retype the same password when ask...

[root@fedora11 ~]# passwd
Changing password for user root.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@fedora11 ~]#
3. Type in 'exit' and hit enter command to quit/logout the su root user
[root@fedora11 ~]# exit
logout
[linux@fedora11 ~]$
Keywords: linux change root password, change root password, change root password linux, root password linux, linux root password
- Add new comment
- 505 reads
- Tell your friends

Recent comments
16 weeks 5 days ago
21 weeks 10 hours ago
21 weeks 12 hours ago
24 weeks 4 days ago
24 weeks 4 days ago
29 weeks 5 days ago
29 weeks 6 days ago
29 weeks 6 days ago