From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IXMMk-0003tR-Vs for garchives@archives.gentoo.org; Mon, 17 Sep 2007 19:34:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8HJOMg6010408; Mon, 17 Sep 2007 19:24:22 GMT Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8HJGEBk029645 for ; Mon, 17 Sep 2007 19:16:16 GMT Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id E4C4B2F2B2 for ; Mon, 17 Sep 2007 15:16:13 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 17 Sep 2007 15:16:14 -0400 X-Sasl-enc: OWD/rSp9mMBxNh9yMtWNZGYcHfSJNPlpDHUjt1r8OJWl 1190056564 Received: from [10.6.104.131] (nat-vlan0201.sat4.rackspace.com [64.39.0.39]) by www.fastmail.fm (Postfix) with ESMTP id 219D9390E for ; Mon, 17 Sep 2007 15:16:04 -0400 (EDT) Subject: Re: [gentoo-user] chage can't open /etc/passwd From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: <64e8d2f20709171030o64c252bcx2810087e88d35775@mail.gmail.com> References: <1190041963.18545.13.camel@localhost> <64e8d2f20709171030o64c252bcx2810087e88d35775@mail.gmail.com> Content-Type: text/plain Date: Mon, 17 Sep 2007 14:15:13 -0500 Message-Id: <1190056513.15444.2.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: c49da8ac-b796-4c80-8c7a-d2f5a12936e2 X-Archives-Hash: 29c1f623103abd3da4dba39591abfa1b 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