For resetting user and admin password, we need a Redhat CD for opening
the system at Rescue Mode.The basics of this operation is mounting the
CP harddisk and running CP commands for editing and adding user by
changing the root directory...
I tested that password reset on Linux Redhat 8.0 , after opening system in rescue mode you have to go down the bash shell by typing
~/bin/sh-2.05b#/ bash
bash-2.05b#
During the rescue operation on CD, the system will be mounted on /mnt/sysimage , so do chroot( changes the root directory to that specified in path ) command
bash-2.05b# chroot /mnt/sysimage
bash# su -
Now your directory is CP shell on [Expert:localhost.localdomain]#
we can change or add user easily at tihs time..
[Expert@localhost.localdomain]# expert_passwd
Enter new expert password:
Enter new expert password again:
Expert passwd has been changed...
We can also add or delete any user..
1 comment:
Which version is this supports ?
Post a Comment