Results 1 to 2 of 2
-
22nd Oct 2010, 04:26 PM #1OPMember
[HOWTO] Reset Root Password via Rescue Mode
Hello guys,
Simply step by step HOWTO : reset root pass via rescue mode.
Make sure you are on the rescue mode, or atleast requested rescue mode from your DC or dedi reseller.
1) Login to the SSH console (rescue mode)
Issue the following command ;
Code:fdisk -l
Code:mount /dev/xvda1 /mnt
NOTE : it will not always be /dev/xvda1 - so make sure to choose the right one when you go for the fdisk -l
/mnt is just a temporary mounting location.
Then you will have to chroot, this is done by ;
Code:chroot /mnt /bin/bash
Code:chroot /mnt /bin/sh
Code:passwd root
Then type the following to exit chroot;
Code:exit
Code:umount /mnt
Code:reboot
That's about it really. Nothing hard
If you have any comments or easier methods, please do let me know and I will edit this
regards,
Ryanvps9Ryan Reviewed by vps9Ryan on . [HOWTO] Reset Root Password via Rescue Mode Hello guys, Simply step by step HOWTO : reset root pass via rescue mode. Make sure you are on the rescue mode, or atleast requested rescue mode from your DC or dedi reseller. 1) Login to the SSH console (rescue mode) Issue the following command ; Rating: 5
-
22nd Oct 2010, 04:27 PM #2Member
Nice tut.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Hotmail Password Reset
By cotufa-ssdd in forum Technical Help Desk SupportReplies: 11Last Post: 17th Jan 2012, 04:26 PM -
DA password reset - please help
By DEVILS_DIVINE in forum Technical Help Desk SupportReplies: 4Last Post: 24th Feb 2011, 05:53 PM -
[Howto] Reset SSH passowrd (Linux)
By WRZHost in forum Technical and Security TutorialsReplies: 2Last Post: 14th Nov 2010, 05:50 PM -
How do I reset my password
By NewEraCracker in forum Feedback and SuggestionsReplies: 5Last Post: 31st Oct 2010, 10:27 PM -
ovh rescue mode
By seeweed in forum Server ManagementReplies: 11Last Post: 21st Mar 2010, 09:02 PM
themaPoster - post to forums and...
Version 5.23 released. Open older version (or...