Re: Help! Linux problem
Posted by
Earl
on 2001-09-09 01:57:32 UTC
..might depend on the flavor of linux, but my redhad dosnt ask for
the current password when you are root changing roots password.. if
this is so, would save a lotta work. :)
but otherwise, yeah that should work.
the current password when you are root changing roots password.. if
this is so, would save a lotta work. :)
but otherwise, yeah that should work.
>thing
> > >It has
> > > RH 5.2 on it. I cant get logged onto the system as root (or any
> > > else) because of a forgotton password. Can anybody help. I onlyhave
> > > the original install diskette and CD. Can anybody help?that
> > >
> > > Don
> > Don,
> > You can use a recovery installation of Linux on a floppy to change
> > the root password.
>
> You don't even need to do this. You need to start the system
> single-user, then you can use whatever tool is most easy to fix the
> problem. probably the passwd program to set the root password to
> a known value.
>
> Booting single-user is done by entering the kernel name (might be
> linux or rtlinux) and then the word single, so it looks like this :
>
> LILO boot: linux single
>
> When it finished booting, you should be at a root prompt, signified
> by the # prompt character.
>
> Now the fun begins. The passwd utility doesn't allow you to change
> a password unless you already know it. So, you need to use a text
> editor to blank out the field in the /etc/passwd file.
>
> There should be a line in /etc/passwd that looks like this :
> root:nzv19ex21:0:0:root:/root:/bin/bash
>
> The garble following root: is the encrypted password. Just blank
> all out, so it reads likeexit,
>
> root::0:0:root:/root:/bin/bash
>
> and then exit from the editor, saving the file. If you have emacs
> installed,
> you would edit it with
>
> emacs /etc/passwd
>
> and you can change the text on the screen. Type ctrl/X ctrl/C to
> type Y to tell it to save the file.just
>
> now, type
>
> passwd
>
> and it will guide you through entering a new password. I think you
> enter a blank line for the old password request.
>
> Jon
Discussion Thread
don.pat.brock@p...
2001-09-08 12:41:59 UTC
Help! Linux problem
Eric Keller
2001-09-08 13:31:58 UTC
Re: [CAD_CAM_EDM_DRO] Help! Linux problem
Jon Elson
2001-09-08 21:58:20 UTC
Re: [CAD_CAM_EDM_DRO] Help! Linux problem
Earl
2001-09-09 01:57:32 UTC
Re: Help! Linux problem
Donald Brock
2001-09-09 02:59:27 UTC
Re: Help! Linux problem
rfs@c...
2001-09-09 19:10:25 UTC
Re: Help! Linux problem
Jon Elson
2001-09-09 21:46:24 UTC
Re: [CAD_CAM_EDM_DRO] Re: Help! Linux problem
Ray
2001-09-10 07:00:24 UTC
Re: Re: Help! Linux problem
jensor@q...
2001-09-10 19:02:03 UTC
Re: Help! Linux problem
Doug Fortune
2001-09-10 20:36:24 UTC
Re: [CAD_CAM_EDM_DRO] Re: Help! Linux problem
Jon Elson
2001-09-10 21:57:28 UTC
Re: [CAD_CAM_EDM_DRO] Re: Help! Linux problem
Jack Ensor
2001-12-16 18:15:57 UTC
Re: [CAD_CAM_EDM_DRO] Re: Help! Linux problem
Tim Goldstein
2001-12-16 19:47:56 UTC
Keyboard for CNC
Gail & Bryan Harries
2001-12-16 22:28:39 UTC
RE: [CAD_CAM_EDM_DRO] Keyboard for CNC
Jon Elson
2001-12-16 22:43:30 UTC
Re: [CAD_CAM_EDM_DRO] Re: Help! Linux problem
Jon Elson
2001-12-16 22:47:07 UTC
Re: [CAD_CAM_EDM_DRO] Re: Help! Linux problem
Tim Goldstein
2001-12-16 22:48:26 UTC
RE: [CAD_CAM_EDM_DRO] Keyboard for CNC
stevenson_engineers
2001-12-17 00:11:52 UTC
Re: Keyboard for CNC
Tim Goldstein
2001-12-17 06:58:42 UTC
Re: [CAD_CAM_EDM_DRO] Re: Keyboard for CNC