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 1IXkt0-0007n2-Tr for garchives@archives.gentoo.org; Tue, 18 Sep 2007 21:45:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8ILZFV6018599; Tue, 18 Sep 2007 21:35:15 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 l8ILSo45008773 for ; Tue, 18 Sep 2007 21:28:51 GMT Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id BF8F72EEF3 for ; Tue, 18 Sep 2007 17:28:49 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 18 Sep 2007 17:29:17 -0400 X-Sasl-enc: XtVVsnqBZhJKBZzP0zXpym7RmRW12qbRcZeeLBh6NeBE 1190150918 Received: from [10.6.104.131] (nat-vlan0201.sat4.rackspace.com [64.39.0.39]) by www.fastmail.fm (Postfix) with ESMTP id 9253A1281 for ; Tue, 18 Sep 2007 17:28:38 -0400 (EDT) Subject: Re: [gentoo-user] chage can't open /etc/passwd From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: <1190124436.21760.2.camel@localhost> References: <1190041963.18545.13.camel@localhost> <20070917231502.lbzd6wg9wwkwccos@mail.bensa.ar> <1190084386.29708.6.camel@blackwidow.nbk> <200709181014.57098.shrdlu@unlimitedmail.org> <1190124436.21760.2.camel@localhost> Content-Type: text/plain Date: Tue, 18 Sep 2007 16:27:45 -0500 Message-Id: <1190150865.21760.21.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: f889029f-1514-4b07-a8a7-5631b90297d1 X-Archives-Hash: 26b59fd4f2fe4341e61973aa3f08fdc0 Ok the mystery continues. On another box, strider, "chage -l" works so this is what I did (don't try this at home): $ mkdir /tmp/strider_passwd $ scp strider:/etc/passwd /tmp/strider_passwd $ scp strider:/etc/shadow /tmp/strider_passwd $ mv /etc/passwd /etc/passwd.orig $ mv /etc/shadow /etc/shadow.orig $ mv /tmp/strider_passwd/passwd /etc $ mv /tmp/strider_passwd/shadow /etc $ ls -l /etc/passwd /etc/shadow -rw-r--r-- 1 root root 1314 2007-09-18 16:23 /etc/passwd -rw------- 1 root root 625 2007-09-18 16:23 /etc/shadow $ chage -l marduk chage: can't open password file I'm running out of ideas. This used to work up until about a month ago. BTW I was going to try also copying group/gshadow from strider but, oddly enough, strider doesn't have an /etc/gshadow. -- gentoo-user@gentoo.org mailing list