Thread: Lost Root Password

  1. #1
    Registered User
    Join Date
    Sep 2001
    Location
    Fiji
    Posts
    212

    Lost Root Password

    hi, my friend lost his root password, we've sat down and tried everything he could think of. But we still can't access it, we need to install xfig on his computer and can't do this without root priveleges.

    Can someone please help me can access to root so we can install xfig, we need to desparately because the assignment we are working on requires it.

    kwigibo

    BTW This is only going to be used this one time, it is his own computer

  2. #2
    Unregistered
    Guest
    sorry you f'd up big time...you're screwed....i hop "your friend" back his shiznit up...

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Couple of suggestions
    1. Use a boot floppy to boot a small linux console, then mount the hard disk and edit the password file

    2. Take the HD out of the machine, and make it a slave HD in another linux box, then do the edit there

  4. #4
    Registered User stautze's Avatar
    Join Date
    Apr 2002
    Posts
    195
    at the lilo prompt type user "linux single" (i think ctrl-x pauses lilo). Then you will be in "single user mode", aka run level 1, which needs no password. Then you can change the password as normal. This should work, if not, there are other options.

    Just for info, getting root is very easy if you have have the ability to boot the machine. This is why physical security is so important, and the reason sever rooms have locks on the doors.
    'During my service in the United States Congress, I took the initiative in creating the Internet.' - Al Gore, March 9, 1999: On CNN's Late Edition

  5. #5
    Unregistered
    Guest
    grab a root disk and all will be well...

  6. #6
    Registered User
    Join Date
    Sep 2001
    Location
    Fiji
    Posts
    212
    Thanks heaps, we end up doing "linux single", because we searched the internet (not expecting help) and found out how to do it, thanks for your time and suggestions

    kwigibo

  7. #7
    Registered User stautze's Avatar
    Join Date
    Apr 2002
    Posts
    195
    it's amazing what you can find on the internet.

    BTW if you ever need that kind of help again, this board is nice, but any of the linux irc chanels would provide an immediate answer.
    'During my service in the United States Congress, I took the initiative in creating the Internet.' - Al Gore, March 9, 1999: On CNN's Late Edition

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pointer confusion
    By Blackroot in forum C++ Programming
    Replies: 11
    Last Post: 09-12-2007, 12:44 AM
  2. Really basic string operation
    By bobthebullet990 in forum C Programming
    Replies: 6
    Last Post: 11-28-2005, 05:18 PM
  3. Bisection Method function value at root incorrect
    By mr_glass in forum C Programming
    Replies: 3
    Last Post: 11-10-2005, 09:10 AM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. Templated Binary Tree... dear god...
    By Nakeerb in forum C++ Programming
    Replies: 15
    Last Post: 01-17-2003, 02:24 AM