Reset Linux root user Password
Method 1
1. Boot the computer with Linux Installation CD.
2. Enter into Linux Rescue mode by enering the following command in boot screen. boot: linux rescue
3. When the shell prompt appears, enter the following commands to change root password.
$ chroot /mnt/sysimage
$ passwd
Method 2
1. When you see the grub screen press 'e' on linux which contains the word 'kernell' press 'e'
2. Go to end of that line and write 'linux single'
3. Then press 'esc' twice and press 'b' to reboot the system
4. Now wait for the prompt and type the following command to reset the password for root.
#passwd root
The above steps will prompt you to enter your new password.
Reset Oracle sys user Password
$ orapwd file=/d03/oracle/TEST/db/tech_st/11.1.0/dbs/orapwTEST password=oracle entries=5
This is your new sys password. After you log in as sys you can change it and create new passwords for system etc.
No comments:
Post a Comment