The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Does anyone know... by sailorbeavis2002-05-13 13:41:27
  I would hope RPMs wouldn't break passwd... by SMcV 2002-05-13 14:00:16
It sounds as though your /bin/login is missing or broken... that's what does the password requests.

If my Debian box is anything to go by (it should be, since it uses PAM for logins, and I think Red Hat was the first distro to do that) even having a broken /etc/passwd would probably still get you a password prompt and a "Login incorrect".

*** /me foolishly tries ***

Yep, if you move /etc/passwd to /etc/pwd it still asks for a password, it just fails to authenticate it (don't worry, I opened a root shell on a spare virtual console first, so I could move it back without any problems :-).

Assuming you can get in (add "single" or "init=/bin/sh" to the kernel parameters, or use a bootable disk/CD if you have one - Debian install CDs give you a root shell for recovery purposes, dunno if Red Hat does) try looking at logfiles. On Debian, /bin/login complains to /var/log/auth.log - your logging may vary, but it'll be somewhere near there.
[ Reply ]
    About PAM... by sailorbeavis2002-05-13 14:10:05

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)