From owner-freebsd-questions@FreeBSD.ORG Sun Mar 21 21:29:51 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 A47A816A4CE for ; Sun, 21 Mar 2004 21:29:51 -0800 (PST) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAE1243D49 for ; Sun, 21 Mar 2004 21:29:50 -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 i2M5TnRw077355 for freebsd-questions@freebsd.org; Mon, 22 Mar 2004 06:29:49 +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: <200403220529.I2M5TM0R077334@asarian-host.net> Date: Mon, 22 Mar 2004 05:29:49 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: Jl0lNMtAmb2I+HsxXps3/yO4p4jv3yxMvhFpyK2A+LUHR4QU2WUz8EUnKAJ/B14BGiBaeGM+XtlE/rKn7EM84w== 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: "Elvedin" References: <405E580A.2040305@earthlink.net> <200403220435.I2M4ZU9B075450@asarian-host.net> <405E73CE.9000302@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 iQEVAwUAQF55zTFqW1BleBN9AQFIDwf/f8BPe9EYZVDWJtkAm39clUwkLyIg2D5i jFKJmPBipCi4Hbju/GRnnHFeuMqBVywNhW4JAesQHLtFv44El3gf3dFpi8p5dtkG juYLd2cA61sS6SsL/YEhtl8R+zARfo3mV8H4NGeHaOd60hgAHhoIjhBhRFez1t76 zGFAW+JpOM+mCWhomUpr3Z1iqTqH0gsAI/SOq90B1+9GLKYsehlMh12KJrCVjuds vnZOm6/gW2p22IafEvNZB5LGt+i6sLZEgZWcAoAc1T9NoGFs06fzgdm9xk1n/GaU /P1VJTZ9zYH4Ok/a9wCkMLH2tZPMHEZrFW1bks8rDXRDYRoEE7mARQ== =UNG0 cc: freebsd-questions@freebsd.org 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 05:29:51 -0000 ----- Original Message ----- From: "Elvedin" To: Sent: Monday, March 22, 2004 5:06 AM Subject: passwd > > 644 should be the proper permission on /etc/pwd.db. And is > > /usr/bin/passwd still setuid root? > > drwxr-xr-x 17 root wheel - 2048 Mar 21 21:57 etc > -rwxr--r-- 1 root wheel - 40960 Mar 21 21:57 pwd.db > -rwxr-xr-x 2 root wheel - 32824 Oct 27 09:31 passwd > > I didn't change passwd or anything related to it at all ... Well, something changed alright. As I expected, your passwd no longer seems to be setuid root! Like so: -r-sr-xr-x 1 root wheel 32504 Oct 9 2002 /usr/bin/passwd If it is not setuid root, regular users can, obviously, no longer can change their own passwords. Change it back: chmod u+s /usr/bin/passwd That will do it. It might be of interest, though, to figure out why this change occured. - Mark