In order to change root password , you have to login to single user mode.
here are the sreps:-
1:- reboot the server
# reboot or shutdown -r now or if you are at console click on power button and click on restart
2:- while rebooting the server press any key for boot options
then press key "e" for edit
3:- Go to the kernel line and again press "e" for edit
4:- space 1
5:- press key "b" for boot
6:- after boot up the server to single user mode chnage the passwd using below steps
#passwd "enterpasswd" (#passwd mypasswd)
7:- init 6 or reboot
No comments:
Post a Comment