this is b/c of PAM and you have to enable nullok in /etc/pam.d/login so it
will allow a blank password..
On Wed, 27 Oct 1999, Thomas Cameron wrote:
> I've had pretty limited luck doing it that way. Maybe I wasn't holding my
> mouth right, >grin< but I've tried changing /etc/passwd from
>
> tcameron:x:501:501::/home/tcameron:/bin/bash
>
> to
>
> tcameron::501:501::/home/tcameron:/bin/bash
>
> Removing the x in the second colon delimited field SHOULD set my password to
> no password, but (on RH 6 anyway), I still get prompted for a password, and
> nothing I enter works.
>
> I've also tried blanking the password field in /etc/shadow as well, to no
> avail.
>
> The single user thing works every time, tho.
>
> Thomas Cameron, CNE, MCP, MCT
> Three-Sixteen Technical Services, Inc.
>
> Linux training in Austin, Texas! http://training.three-sixteen.com
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Justin
> Georgeson
> Sent: Wednesday, October 27, 1999 1:09 PM
> To: Sig Linux
> Subject: Re: root pwd corrupted-help.
>
>
> Chris Johnson wrote:
> >
> > Any suggestions on what to do to recover my pwds and
> > login, and steps to take to detect data corruption and
> > also to diagnose how fast I can safely overclock are
> > requested.
>
> Get a boot disk (like tom's root boot) and mount your root drive after
> booting off the floppy. then blank out the password field in
> /etc/passwd. Then boot off the hdd and login without a password, then
> run passwd to change it. I'm not sure if using shadow passwords makes
> this not work, maybe edit /etc/shadow instead of /etc/passwd.
>
> --
> ------------------------------------------------------------------------
> ; Justin Georgeson "free the mallocs" ;
> ; Metrowerks Austin - Desktop Java QA Engineer ;
> ; http://www.metrowerks.com ;
> ; mailto:[EMAIL PROTECTED] ;
> ------------------------------------------------------------------------
>
> Pursuant to US Code, Title 47, Chapter 5, Subchapter II, Sec. 227,
> any and all unsolicited commercial E-mail sent to this address
> is subject to a download and archival fee in the amount of $500
> US (per infraction). E-mailing denotes acceptance of these terms.
> ---------------------------------------------------------------------------
> Send administrative requests to [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------------
> Send administrative requests to [EMAIL PROTECTED]
>
|--------------------------------------------------
| Justin Ryan
| Developer Relations Associate
| TurboLinux - http://www.turbolinux.com/
| [EMAIL PROTECTED]
| WebMaster, PCHelp - http://computers.iwz.com
| [EMAIL PROTECTED]
|--------------------------------------------------
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]