From owner-freebsd-questions@FreeBSD.ORG Sun Mar 21 20:35:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBE5516A4CE for ; Sun, 21 Mar 2004 20:35:32 -0800 (PST) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id E791943D3F for ; Sun, 21 Mar 2004 20:35:31 -0800 (PST) SRS0=fvbSRXUp=GT=asarian-host.net=admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.11/8.12.11) id i2M4ZUcn075462 for freebsd-questions@freebsd.org; Mon, 22 Mar 2004 05:35:30 +0100 (CET) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200403220435.I2M4ZU9B075450@asarian-host.net> Date: Mon, 22 Mar 2004 04:35:30 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: jhC8X6Dm4jTMqCj0rnoV8fE3a2kSImF/UtffHnjADQybKEGoUyozhOH7pud/NrkCS6GU4SBR7IrfXs4g+Z6vKQ== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: References: <405E580A.2040305@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAQF5tEjFqW1BleBN9AQH2Ogf+K8TpMtti/Y84Y61YPHwN95vvC0OYFvKD WMTOOZ6HXe9BL7DfuLTsOjaotDIstHMoqHbKJw8Dx1IMqDtKDNKHmpHiOtMqTe+U 7DWIot9iUDTA5+GTR6hcHeQh0HxjbZEiPCj0HStV9YAWwwY/SgaLYKrtwG4K+nRi Gitfax6ekfLFoE1F2TUeGzCNFn6gp4oA32LH9bJSTVsakkgj2lZSDa4H0B5ihc2e CYZAyF3Z5MWhFtIvHMOo5AM176Z8zFQ1aUtNtAjQ9JnRfgzYkiuxRdO8xJNX7L6h sgcbu6urEDP22iC73DXFfM/c2A1XfWmFyNUpmCzZmz7cm6UT1WUJzA== =FbkV Subject: Re: passwd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 04:35:32 -0000 ----- Original Message ----- From: "Elvedin" To: Sent: Monday, March 22, 2004 5:06 AM Subject: passwd > My problem that exists with passwd is when regular users try to > change their passwords, they get this message - > > passwd: error opening database: /etc/pwd.db.: Permission denied > passwd: /etc/master.passwd: unchanged > > I've search and came up with nothing really but some things I've > tried is adding the users to the wheel group, remaking the pwd > database file and even setting pwd.db to 777 and still permission > was denied. 644 should be the proper permission on /etc/pwd.db. And is /usr/bin/passwd still setuid root? Did you set any special flags on /etc/pwd.db? Like sunlnk, schg? (ls -lo will tell). And what are the permissions on /etc itself? - Mark