Geeky root password humor (I guess)

  • redhawk
  • Newbie
  • Newbie
  • User avatar
  • Posts: 14

Post 3+ Months Ago

Here I sit in front of my MDK9.1 box, I had abandoned it for a short while to play around with file development under windows, and now guess what? I forgot my root password, and I know that it uses a pretty hefty encryption (Some variant of DES I believe.) So I know that I wont be able to restore it that way, and guessing wont work either, since I use very complex passwords (usually ay least 15 characters, comprising letters(upper and lower) and numbers). So what know? Well, I could reinstall the whole OS, but that would be wasted hours and a lot of docs down the tube. Again I am faced with an inevitable situation with only one obvious solution, I know in old copies of NT 4.0 it was possible to reset the security settings, (I used NT4.0 extensively) with just the boot disk, is there a way to do this is MDK? I will probably play around with it hoping and praying that by some glimmer of luck I will remember my root password or perhaps find a setting on the boot CD that allows me to reset it.

Only one good thing can be said here; that linux can be a tough nut to crack. If you guys have any suggestions I would forever be in your debt.
  • andrushok
  • Novice
  • Novice
  • User avatar
  • Posts: 24

Post 3+ Months Ago

I am sorry, it is not decision, just a few suggestion:
1) create one more user account with a root priviliges (add it in sudoers).
2) configure your .rhosts file: it allows rlogin from another mashine.
3) write the password under keyboard (joke :lol: )

I do not know other way to restore the password, if you forgot it, unfortunately. Try boot from CD, but I am not sure, it helps.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

I've never tried it before, but you may be able to boot from the cdrom, run the setup program and only configure the accounts, while not reinstalling any packages/formatting any partitions.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

This is a Linux box right?
As with all *nix, you should be able to log in via single user mode from the console -- does not require password.

Change the password, reboot.
Done.
  • rjstephens
  • Professor
  • Professor
  • User avatar
  • Posts: 774
  • Loc: Brisbane, Australia

Post 3+ Months Ago

boot up a rescue disk or similar (eg knoppix or damn small inux) and fix your /etc/passwd and /etc/shadow files. I'm not sure where you'd get prewritten ones from, though. You can't have mine (sorry). Do you have another box around that you can put linux on temporarily and then borrow the /etc/passwd and the /etc/shadow files from?

One more thing, when your finished that, make sure to go in as root and chmod the /etc/shadow file to 640.
  • Rico16135
  • Novice
  • Novice
  • Rico16135
  • Posts: 26
  • Loc: Arlington, Texas

Post 3+ Months Ago

These suggestion may work, but you could always take this opportunity to install a newer version of Mandrake or another Linux OS. Just a thought.

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 4 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.