Article View: csu.unix.linux
Article #101Re: Lost root password
From: Adam Carheden
Date: Mon, 03 Jan 2000 00:00
Date: Mon, 03 Jan 2000 00:00
33 lines
2122 bytes
2122 bytes
Nope, no comments in passwd, but I think I've got it. In place of the password there is an 'x' in every entry. I've seen lots of different characters here, including '!' '!!' and some others. Some allow login, some don't, some do this, some do that. I've never figured out what does what though, and it's not in the man page. I tried putting ! and !! in a normal user account, but that produces an incorrect login via telnet. With an x it simply disconnects the user immediately when the correct password is entered. Can you please explain what the characters in the password file mean? Thanks. Michael Dwyer wrote: > > Adam Carheden <carheden@holly.colostate.edu> wrote: > : Okay, something seriously weird is going on here. But first, the good > : news. > > "What did you do Ray?" - Ghostbusters > Uh... Stupid answer -- undo whatever you did. :) > More serious answer: You didn't try to put comments or blank > lines in either your passwd or shadow file, did you? I did that. > Once. Oops. > Is the little symbol correct in passwd that tell it to look in shadow? > Try this: enter single user mode, then run /bin/login and see what > happens... > > -- > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Michael J. Dwyer I doubt, therefore I might be. > mdwyer@holly.ColoState.edu http://WWW.CS.ColoState.EDU/~dwyer/ > Computer Science Major Amateur Radio Tech N0ZAP
Technical Details
Message-ID:
<3870CFB7.2708A09F@holly.colostate.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3868D051.EA3D47AC@holly.ColoState.EDU> <386AB040.B3741928@holly.colostate.edu> <386b0572@news.ColoState.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1159f7,89234b293e3ed28b X-Google-Attributes: gid1159f7,public From: Adam Carheden <carheden@holly.colostate.edu> Subject: Re: Lost root password Date: 2000/01/03 Message-ID: <3870CFB7.2708A09F@holly.colostate.edu> X-Deja-AN: 567793963 Content-Transfer-Encoding: 7bit References: <3868D051.EA3D47AC@holly.ColoState.EDU> <386AB040.B3741928@holly.colostate.edu> <386b0572@news.ColoState.EDU> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 3 Jan 2000 09:35:44 -0700, www.cnhp.colostate.edu MIME-Version: 1.0 Newsgroups: csu.unix.linux