From owner-freebsd-questions@FreeBSD.ORG Sun Mar 21 21:40:53 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 5A9E616A4CE for ; Sun, 21 Mar 2004 21:40:53 -0800 (PST) Received: from cardinal.mail.pas.earthlink.net (cardinal.mail.pas.earthlink.net [207.217.121.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24A1D43D46 for ; Sun, 21 Mar 2004 21:40:51 -0800 (PST) (envelope-from mnsan11@earthlink.net) Received: from h-68-164-9-27.chcgilgm.dynamic.covad.net ([68.164.9.27] helo=sysadmin.ods.org) by cardinal.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1B5IAr-0003bW-00; Sun, 21 Mar 2004 21:40:33 -0800 Received: from earthlink.net (VICE [192.168.1.33]) by sysadmin.ods.org (Postfix) with ESMTP id 8A7D92D1EA4; Sun, 21 Mar 2004 23:41:26 -0600 (CST) Message-ID: <405E7C5C.80808@earthlink.net> Date: Sun, 21 Mar 2004 23:40:44 -0600 From: Elvedin User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark References: <405E580A.2040305@earthlink.net> <200403220435.I2M4ZU9B075450@asarian-host.net> <405E73CE.9000302@earthlink.net> <200403220529.I2M5TM0R077334@asarian-host.net> In-Reply-To: <200403220529.I2M5TM0R077334@asarian-host.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 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:40:53 -0000 Mark wrote: >----- 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 > > > > That resolved it, thank you very much. I really have no clue why this came up since I haven't changed any permissions at all in /usr/bin or anything passwd related before this. If only my setuid logs were set to keep logs from the beginning instead of for today and yesterday... -- Elvedin T. sysadmin.ods.org ODS.org