public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] chage can't open /etc/passwd
@ 2007-09-17 15:12 Albert Hopkins
  2007-09-17 17:30 ` Ryan Sims
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Albert Hopkins @ 2007-09-17 15:12 UTC (permalink / raw
  To: gentoo-user

I've been having this problem on one of my machines for a while.  As a
user or as root I cannot run chage:

        $ chage -l marduk
        chage: can't open password file

I've looked at /etc/passwd*, /etc/shadow* /etc/group* and /etc/gshadow*
and all the permissions look fine.  It works on other machines.  I even
tried re-emerging the shadow package, but still get the same error.

I tried running pwck thinking the password file was somehow currupt.
pwck only complains about users with invalid home directories/shells.
Oddly enough, 'pwck' runs w/o errors, but 'pwck -r' (read-only) gives.

        pwck: cannot open file /etc/passwd


syslog shows:
        Sep 17 10:07:49 [chage] failed opening /etc/passwd

I'm at a loss.  Rebooting makes no difference.  passwd seems to work
fine. I can open /etc/passwd myself (as root and user) just fine. Anyone
got any clues?




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2007-09-19  2:47 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-17 15:12 [gentoo-user] chage can't open /etc/passwd Albert Hopkins
2007-09-17 17:30 ` Ryan Sims
2007-09-17 19:15   ` Albert Hopkins
2007-09-17 19:48     ` Etaoin Shrdlu
2007-09-17 20:30       ` Albert Hopkins
2007-09-17 21:09         ` Etaoin Shrdlu
2007-09-17 21:37           ` Albert Hopkins
2007-09-17 23:17             ` Norberto Bensa
     [not found]               ` <1190075689.7101.8.camel@blackwidow.nbk>
     [not found]                 ` <20070917231502.lbzd6wg9wwkwccos@mail.bensa.ar>
2007-09-18  2:59                   ` Albert Hopkins
2007-09-18  3:14                     ` Norberto Bensa
2007-09-18  8:14                     ` Etaoin Shrdlu
2007-09-18 14:04                       ` Albert Hopkins
2007-09-18 14:07                       ` Albert Hopkins
2007-09-18 21:27                         ` Albert Hopkins
2007-09-18 23:32                           ` Norberto Bensa
2007-09-18 23:56                             ` Albert Hopkins
2007-09-19  0:56                               ` [gentoo-user] chage can't open /etc/passwd [SOLVED] Albert Hopkins
2007-09-19  1:08                                 ` Norberto Bensa
2007-09-19  1:16                                   ` Albert Hopkins
2007-09-19  1:47                                     ` Albert Hopkins
2007-09-19  2:01                                       ` Norberto Bensa
2007-09-19  2:33                                         ` Albert Hopkins
2007-09-19  2:00                                   ` Steen Eugen Poulsen
2007-09-18  9:05                     ` [gentoo-user] chage can't open /etc/passwd Etaoin Shrdlu
2007-09-17 17:57 ` Etaoin Shrdlu
2007-09-17 20:08 ` Peter Ruskin
2007-09-17 20:32   ` Albert Hopkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox