Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Resetting root password without login

  1. #11
    Member xX_Spiidey_Xx's Avatar
    Join Date
    Jan 2010
    Location
    /dev/urandom
    Posts
    256

    Default Re: Resetting root password without login

    Quote Originally Posted by dmshady001 View Post
    so I might I go about popping the CMOS battery in a VM?
    In the real world, we don't use VMs for production. VMs are for local/internally networked development and testing. So go ahead and pop all the CMOS batteries in VMs as you like. The VM disk is stored somewhere, and when found, can be mounted and broken into.
    thou shalt treat all computers as thou wouldst treat thyself, for thou art the creator of thine own problems.

  2. #12
    Just burned his ISO
    Join Date
    Mar 2010
    Location
    the emerald city
    Posts
    1

    Default Re: Resetting root password without login

    I was playing around with this in BT4 (thanks xX_Spiidey_Xx) and for some reason I have yet come to understand it worked the first time, but refused to change the password any subsequent times.

    However this similar set of steps worked every time:

    Code:
    Press ESC at Grub prompt on boot
    Select first line, hit e
    Select kernel line, hit e
    Add "init=/bin/bash" to end of line preceded by a space
    Hit enter
    Hit b
    At prompt, run "mount -o rw,remount /"
    Run "passwd"; enter new password in both following prompts
    Run "mount -o ro,remount /"
    Hit Ctrl+D to start a kernel panic and hang
    Power off machine and reboot as normal
    Note: You can also add "panic=5" after the "init=/bin/bash" on the kernel line to have the machine automatically reboot in 5 seconds after it hits a kernel panic

    If anyone knows why the original set of commands only worked the first time around I'd be interested. Thanks again xX_Spiidey_Xx
    Last edited by shadow_grinder; 03-31-2010 at 06:56 AM.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Making a user that has the root appearance BT4
    By Soultaker666 in forum Beginners Forum
    Replies: 13
    Last Post: 02-10-2010, 02:22 AM
  2. Kismet running in root
    By arcutha in forum Beginners Forum
    Replies: 6
    Last Post: 02-05-2010, 12:18 PM
  3. help with password for bt4 in vmware
    By iguana in forum Beginners Forum
    Replies: 1
    Last Post: 01-20-2010, 07:52 PM
  4. Password Manager
    By .rtkd in forum Tool Requests
    Replies: 0
    Last Post: 01-15-2010, 07:50 PM
  5. Replies: 2
    Last Post: 01-12-2010, 05:32 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •