Article View: csu.unix.linux
Article #106Re: Lost root password
From: F.L. Whiteley
Date: Thu, 06 Jan 2000 00:00
Date: Thu, 06 Jan 2000 00:00
43 lines
2686 bytes
2686 bytes
The X indicates shadow passwords (encrypted) are enabled. The shadow password file will show you the encrypted password only, which you can't manipulate directly. There is a way around this, but if everyone knew it, then you'd have to physically secure your computer from access. Are you prepared to do this? Frank Adam Carheden wrote in message <3870CFB7.2708A09F@holly.colostate.edu>... >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:
<WtZc4.551$1o8.178328064@news.frii.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3868D051.EA3D47AC@holly.ColoState.EDU> <386AB040.B3741928@holly.colostate.edu> <386b0572@news.ColoState.EDU> <3870CFB7.2708A09F@holly.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: "F.L. Whiteley" <greeley@greeleynet.com> Subject: Re: Lost root password Date: 2000/01/06 Message-ID: <WtZc4.551$1o8.178328064@news.frii.net> X-Deja-AN: 569026443 References: <3868D051.EA3D47AC@holly.ColoState.EDU> <386AB040.B3741928@holly.colostate.edu> <386b0572@news.ColoState.EDU> <3870CFB7.2708A09F@holly.colostate.edu> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@frii.net X-Trace: news.frii.net 947151862 216.17.136.30 (Thu, 06 Jan 2000 02:44:22 MST) Organization: Front Range Internet, Inc. (800.935.6527) NNTP-Posting-Date: Thu, 06 Jan 2000 02:44:22 MST Newsgroups: csu.unix.linux