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 1IXNXq-00018a-3r for garchives@archives.gentoo.org; Mon, 17 Sep 2007 20:50:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8HKf77A007473; Mon, 17 Sep 2007 20:41:07 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 l8HKXkrg029920 for ; Mon, 17 Sep 2007 20:33:46 GMT Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id EDFD82EE99 for ; Mon, 17 Sep 2007 16:33:45 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 17 Sep 2007 16:34:06 -0400 X-Sasl-enc: uBbwUIt7sWLgmcA8HY2qqhjy+RviuvxhiuUZkQ6Ai+lG 1190061216 Received: from [10.6.104.131] (nat-vlan0201.sat4.rackspace.com [64.39.0.39]) by www.fastmail.fm (Postfix) with ESMTP id 1D0A64C10 for ; Mon, 17 Sep 2007 16:33:36 -0400 (EDT) Subject: Re: [gentoo-user] chage can't open /etc/passwd From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: <200709172108.06722.peter.ruskin@dsl.pipex.com> References: <1190041963.18545.13.camel@localhost> <200709172108.06722.peter.ruskin@dsl.pipex.com> Content-Type: text/plain Date: Mon, 17 Sep 2007 15:32:44 -0500 Message-Id: <1190061165.15444.47.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: a02422bc-b607-4fd9-bfb9-3c9ebde67b69 X-Archives-Hash: d41e57e270ee540c8f83b46591f79b0f On Mon, 2007-09-17 at 21:08 +0100, Peter Ruskin wrote: > Check your perms for gshadow: > > $ /bin/ls > -l /etc/passwd* /etc/shadow* /etc/group* /etc/gshadow* /usr/bin/chage > -rw-r--r-- 1 root root 1646 2007-04-14 00:45 /etc/group > -rw------- 1 root root 1630 2007-04-01 11:04 /etc/group- > -rw------- 1 root root 1561 2007-01-21 00:52 /etc/group.bak > -rw-r--r-- 1 root root 1503 2007-04-12 01:31 /etc/gshadow > -rw------- 1 root root 1491 2007-04-01 11:04 /etc/gshadow- > -rw------- 1 root root 1422 2007-01-21 00:52 /etc/gshadow.bak > -rw-r--r-- 1 root root 2290 2007-04-14 00:45 /etc/passwd > -rw------- 1 root root 2220 2007-02-14 01:24 /etc/passwd- > -rw------- 1 root root 2131 2006-12-12 18:40 /etc/passwd.bak > -rw------- 1 root root 1174 2007-04-14 00:45 /etc/shadow > -rw------- 1 root root 1143 2007-02-14 01:24 /etc/shadow- > -rw------- 1 root root 1111 2006-12-12 18:40 /etc/shadow.bak > -rws--x--x 1 root root 47937 2007-07-03 00:11 /usr/bin/chage > I would think that gshadow, like shadow, should not be world-readable, as it could potentially contain (group) passwords. Nevertheless, changing the permissions doesn't make a difference in my case. -- gentoo-user@gentoo.org mailing list