public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] chage can't open /etc/passwd
Date: Mon, 17 Sep 2007 14:15:13 -0500	[thread overview]
Message-ID: <1190056513.15444.2.camel@localhost> (raw)
In-Reply-To: <64e8d2f20709171030o64c252bcx2810087e88d35775@mail.gmail.com>

On Mon, 2007-09-17 at 13:30 -0400, Ryan Sims wrote:
> This is just triage, but what are the permissions on /etc/passwd?

$ /bin/ls
-l /etc/passwd* /etc/shadow* /etc/group* /etc/gshadow* /usr/bin/chage 
-rw-r--r-- 1 root root  1404 2007-09-08 17:39 /etc/group
-rw------- 1 root root  1389 2007-06-30 23:15 /etc/group-
-rw------- 1 root root  1203 2007-07-19 18:37 /etc/gshadow
-rw------- 1 root root  1190 2007-06-23 09:12 /etc/gshadow-
-rw-r--r-- 1 root root  3161 2007-09-12 11:51 /etc/passwd
-rw------- 1 root root  3209 2007-09-08 17:39 /etc/passwd-
-rw------- 1 root root  1233 2007-09-12 20:10 /etc/shadow
-rw------- 1 root root  1290 2007-09-08 17:39 /etc/shadow-
-rws--x--x 1 root root 36944 2007-09-12 10:56 /usr/bin/chage


Actually, /etc/gshadow wasn't root-writable for some reason.  I did a
'chmod u+w' but still get "chage: can't open password file".

BTW, this happens whether I'm running as user or root.

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-09-17 19:34 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1190056513.15444.2.camel@localhost \
    --to=marduk@letterboxes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox