Activity Stream
48,167 MEMBERS
6725 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 2 of 2
  1.     
    #1
    Member

    Default [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
    Then find the disk partition (you will know it by the amount of HD, quite straight forward), then mount using

    Code: 
    mount /dev/xvda1 /mnt
    /dev/xvda1 will be shown when you type fdisk -l

    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
    or

    Code: 
    chroot /mnt /bin/sh
    Then issue the following command to reset your REAL ROOT password

    Code: 
    passwd root
    and reset it.

    Then type the following to exit chroot;

    Code: 
    exit
    Then you will have to unmount the temporary partition using the following command;

    Code: 
    umount /mnt
    And finally reboot the server;

    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,
    Ryan
    vps9Ryan 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
    vpsBox - SolusVM Templates (w/cPanel) // PHP Scripts // BASH Scripts // Tutorials
    MyRSK - Budget (managed) VPS's with a touch of personal support!

  2.   Sponsored Links

  3.     
    #2
    Member
    Nice tut.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hotmail Password Reset
    By cotufa-ssdd in forum Technical Help Desk Support
    Replies: 11
    Last Post: 17th Jan 2012, 04:26 PM
  2. DA password reset - please help
    By DEVILS_DIVINE in forum Technical Help Desk Support
    Replies: 4
    Last Post: 24th Feb 2011, 05:53 PM
  3. [Howto] Reset SSH passowrd (Linux)
    By WRZHost in forum Technical and Security Tutorials
    Replies: 2
    Last Post: 14th Nov 2010, 05:50 PM
  4. How do I reset my password
    By NewEraCracker in forum Feedback and Suggestions
    Replies: 5
    Last Post: 31st Oct 2010, 10:27 PM
  5. ovh rescue mode
    By seeweed in forum Server Management
    Replies: 11
    Last Post: 21st Mar 2010, 09:02 PM

Tags for this Thread

BE SOCIAL