How to reset root password for Redhat machine
location: linuxquestions.com - date: October 25, 2010
Yesterday, when I was installing Redhat Enterprise 5.4 on a HP server, I asked myself "how can I regain my access to the server if I happen to forget the root password?" I knew there must be a way. I consulted with my friend "Google". He helped me resolved the issue. I'd like to share it here as my 1st post (too bad that I'm not allowed to paste screenshots)
1) Boot up the server, when you are at the "Red Hat Enterprise Linux Server..." entry, press "e".
2) Highlight the "kernel /vmlinuz...." line then press "e" again.
3) Type the word "single" to the end of the line (with an empty space before the word single). Press Enter.
4) Press "b"
5) System will boot. When you get the prompt "#", type "passwd" to enter in new password for root.
6) Reboot the system. Done
Hope it helps.
How to reset root password in Ubuntu?
location: linuxquestions.com - date: December 12, 2007
I just got done with installing Ubuntu in VMWare. Installer asked me for a username and password which I can now use to log in and out. Installer never asked me for root password. So, what is the root password, and how can I change it?
12.04 Need to reset root password, can't enter GRUB to do so
location: ubuntuforums.com - date: October 3, 2013
I'm brand new to Ubuntu and was given this machine by a friend who no longer remembers Root password. I just want to install a few things but get prompted to authenticate with a password I don't know. I'm told I can reset the password using GRUB, but when I try to enter it just says 'Loading GRUB', then goes straight into booting Ubuntu instead of GRUB. I found out this may be due to timeout values being set to 0, and to change it to a positivie value like 10 in order to get in. I guess I'm supposed to use | gksudo gedit /etc/default/grub | in the terminal in order to be able to change that, but of course It requires the password I don't have. This is frustrating . Can anyone tell me if there's a way out of this vicous cycle?
Howto: Reset root password of a VM
location: ubuntuforums.com - date: December 29, 2010
I just wasted a couple hours of my life trying to reset the root password of a virtual machine. Trying to boot into Single user mode, just would not work. Eventually, I found a quite trivial method. VMware Player can mount the VM disk on the host and then you can edit the /etc/shadow file at your leisure.
Run VMware Player and Open the VM.
Click Edit Virtual Machine Settings, Hard Disk, Utilities (at the bottom) has an entry for Mount Disk.
Create a mount point:
$ sudo mkdir /mnt/vm
Now mount the Vm disk on this point.
Enter the mount point and go to /etc:
$ sudo vi /etc/shadow
Delete the root password between the first two colons and save the file:
Now unmount the VM disk and boot normally. Open a terminal in the VM and set the root password:
[SOLVED] unable to reset root password in RHEL6
- date: January 4, 2012
I'm unable to reset root password from Single User Mode in RHEL6.
'passwd' command takes me to the next line without prompting for 'New Password'.
/]# passwd root
I even tried it after remounting / in rw mode, but no change in the response to the passwd command.
The command 'passwd' is working to change the password of the current logged in user. So, I suppose the binary may not be corrupted.
Any help is greatly appreciated.
reset root password
location: linuxquestions.com - date: February 22, 2005
I have a debian box with important application running on it ,i don't know what the root password is ,the guy who knew has left and did not bother to pass on information.I have heard theres a program one can run ..just pop in a cd and follwo instruction to reset the root password.
[SOLVED] reset root password in CentOS 5.5
location: linuxquestions.com - date: October 14, 2010
What are the steps that I must follow to reset the root password in CentOS 5.5?
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password?
location: linuxquestions.com - date: February 1, 2006
I had installed Mandrake Linux 10.1, in a system, and left it for a long time. Now, I can't remember the root password, I need to upgrade some packages. How can I easily retrieve my root password, without reinstalling Mandrake?, Is there any option by going through Failsafe mode?.
how to reset root password in dual boot fedora3 & winXP?
location: linuxquestions.com - date: March 14, 2008
i am newbie. i had problem in my dual boot operating system.
I installed my PC with 2 operating system, Fedora3 & win XP. and after 1 month passed I forgot my root password, so i can only use my linux as another user. i've searched many articles to find out this problem, but most only gave the solution for reseting root passwd in single boot.
so for those who are good and experienced in linux, i'll be waiting for the solutions..!
NB: i use grub loader.
Thanks before, ( sorry if my english's poor..)
Reset Root password
location: linuxquestions.com - date: April 2, 2004
Does anyone know a method to reset a forgoten AIX root password
without rebooting the machine?
Page: 1 2 3 4 5 6 7 8 9 10