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 <gentoo-user+bounces-69614-garchives=archives.gentoo.org@gentoo.org>) id 1IXIYR-0001gr-AR for garchives@archives.gentoo.org; Mon, 17 Sep 2007 15:30:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8HFLeiJ021756; Mon, 17 Sep 2007 15:21:40 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 l8HFDjPj009503 for <gentoo-user@lists.gentoo.org>; Mon, 17 Sep 2007 15:13:46 GMT Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 20BB22EAF0 for <gentoo-user@lists.gentoo.org>; Mon, 17 Sep 2007 11:13:43 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 17 Sep 2007 11:13:43 -0400 X-Sasl-enc: TYQi88hLvktiftFyPRrDcP8wFrX0zGtASUBBtUc8FzpT 1190042013 Received: from [10.6.104.131] (nat-vlan0201.sat4.rackspace.com [64.39.0.39]) by www.fastmail.fm (Postfix) with ESMTP id 5BC864B52 for <gentoo-user@lists.gentoo.org>; Mon, 17 Sep 2007 11:13:33 -0400 (EDT) Subject: [gentoo-user] chage can't open /etc/passwd From: Albert Hopkins <marduk@letterboxes.org> To: gentoo-user@lists.gentoo.org Content-Type: text/plain Date: Mon, 17 Sep 2007 10:12:43 -0500 Message-Id: <1190041963.18545.13.camel@localhost> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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: 767245d8-079e-4ae6-ba2f-3fe6e177608c X-Archives-Hash: b8f81267db1bf8b23e048f5f646f68f6 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