password

  • raven
  • Born
  • Born
  • No Avatar
  • Joined: Sep 21, 2003
  • Posts: 1
  • Status: Offline

Post September 21st, 2003, 5:40 pm

I have just installed red hat 8 to a 9 gig partition of my hard drive. I have made one big mistake!! I decided to leave the house after typing in my username and password. Well, I do not remember them. Is there a way around this or do I need to start over. and is a username and password a must??
Thanks for all help!
Chris
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 21st, 2003, 5:40 pm

  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jun 15, 2003
  • Posts: 4583
  • Loc: Maryland
  • Status: Offline

Post September 21st, 2003, 5:47 pm

I believe redhat tells you to write that stuff down...tsk tsk, I am prety sure you will need to reinstall.
Pixel Acres V2
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8925
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post September 21st, 2003, 6:10 pm

Yeah you are pretty much screwed. Better start reinstalling or think hard what it was.
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post September 22nd, 2003, 1:08 pm

the first time installed redhat, i did the same thing. I decided to make up
a new password for myself and then got distracted on something else.
3 hrs later, I returned and hadn't written down the password. I had to
start over. :oops: :P

Neeldess to say, i'm not using that new password for anything now. :P
UNFLUX.FOTO
  • ModernDestroyer
  • Professor
  • Professor
  • User avatar
  • Joined: Sep 18, 2003
  • Posts: 800
  • Loc: California
  • Status: Offline

Post September 22nd, 2003, 2:15 pm

Stick with a good password and use it in a few different logins and you will have no problem remembering it.

A good password to me is enter mixing uppercase, lower case, numbers, and special characters (!@#$%^&*_~`)

ex. H&or49T

but the main thing is use it allot till you have it memorized. Enjoy :)
  • ModernDestroyer
  • Professor
  • Professor
  • User avatar
  • Joined: Sep 18, 2003
  • Posts: 800
  • Loc: California
  • Status: Offline

Post September 22nd, 2003, 2:25 pm

The other thing you might try is putting disk 1 in the cdrom and make sure the BIOS is setup to search for cdrom for boot image. then type linux rescue. Then you can at least get in and try and change the root password. Linux rescue usually mounts your file system to /mnt/sysimage
I don't know if it is worth the trouble if it is just a fresh install, might be better off just reinstalling Linux. Enjoy :D

I just reread your post so your missing a username/password and not the root and root password?
  • marchg
  • Born
  • Born
  • No Avatar
  • Joined: Sep 29, 2003
  • Posts: 1
  • Status: Offline

Post September 29th, 2003, 1:44 am

Hi,

Just recently installed redhat 9. Same thing happened to me. I logged in to server in single user mode. Reset my "passwd root" and rebooted.
Worked like a charm. Hope the same applies to V8
  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Joined: Jan 14, 2004
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada
  • Status: Offline

Post January 14th, 2004, 9:00 am

This is easy. Boot another copy of Linux, mount the filesystem, and delete the scrambled password for the root account from /etc/passwd

Now, login without a password.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post January 30th, 2004, 7:48 am

ARGH. No no no. :)

Boot into single user mode.
(Here's a link to Red Hat's site where they discuss the varied ways to do this.)
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-rescuemode-booting-single.html

When you boot single user mode at the console, you are root -- no password required. That's why you have to be at the console.

Then make new passwords for root, and the user account.
passwd
type old root pw
type new root password 2 times

passwd username
type new pw 2 times
done

Cheers.
"It's always a long day, 86,400 won't fit into a short."
  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Joined: Jan 14, 2004
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada
  • Status: Offline

Post January 30th, 2004, 7:51 am

Oh! I've been doing it the old fashioned way! :-P

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 124 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.