Break Root Password You can reset forgotten root password under Linux by booting system into single user mode or emergency mode (also known as rescue mode). Boot loader is GRUB-Following is the procedure to reset root password if you are using GRUB as a boot loader:
1. Select the kernel 2. Press the e key to edit the entry 3. Select second line (the line starting with the word kernel) 4. Press the e key to edit kernel entry so that you can append single user mode 5. Append the letter S (or word Single) to the end of the (kernel) line 6. Press ENTER key 7. Now press the b key to boot the Linux kernel into single user mode 8. At prompt type passwd command to reset password: You need to mount at least / and other partitions: # mount -t proc proc /proc # mount -o remount,rw / Change the root password, enter: # passwd Finally reboot system: # sync # reboot or http://ashutoshlinuxnotes.blogspot.in/p/18.html *Thanks,* Ashutosh On Tue, Jun 24, 2014 at 9:58 PM, Jeremiah Bess <[email protected]> wrote: > Unlike Windows, service accounts and in this case, the root account > password change does not affect services starting up. You are safe to > change it. > > > Jeremiah Bess > > <https://plus.google.com/u/0/103182072532361592558> > <https://www.facebook.com/jeremiahbess> > <http://www.linkedin.com/profile/view?id=47451026> > > > On Tue, Jun 24, 2014 at 10:22 AM, Ali Varmazyar <[email protected]> > wrote: > >> Hi, >> i don't know my root password, now i want that know if i reset root >> password, my services like iptable start and work fine or not, please help >> me, >> Thanks... >> >> -- >> -- >> You received this message because you are subscribed to the Linux Users >> Group. >> To post a message, send email to [email protected] >> To unsubscribe, send email to >> [email protected] >> For more options, visit our group at >> http://groups.google.com/group/linuxusersgroup >> References can be found at: http://goo.gl/anqri >> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules >> or http://cdn.fsdev.net/List-Rules.pdf) >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Linux Users Group" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- > You received this message because you are subscribed to the Linux Users > Group. > To post a message, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit our group at > http://groups.google.com/group/linuxusersgroup > References can be found at: http://goo.gl/anqri > Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules > or http://cdn.fsdev.net/List-Rules.pdf) > > --- > You received this message because you are subscribed to the Google Groups > "Linux Users Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf) --- You received this message because you are subscribed to the Google Groups "Linux Users Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
