From owner-freebsd-bugs Thu Mar 30 21:37:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA13440 for bugs-outgoing; Thu, 30 Mar 1995 21:37:02 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA13421 for ; Thu, 30 Mar 1995 21:36:59 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id VAA07667; Thu, 30 Mar 1995 21:36:40 -0800 From: "Rodney W. Grimes" Message-Id: <199503310536.VAA07667@gndrsh.aac.dev.com> Subject: Re: passwd broken in new snap??? To: hlew@genome.Stanford.EDU (Howard Lew) Date: Thu, 30 Mar 1995 21:36:40 -0800 (PST) Cc: brian@mediacity.com, bugs@FreeBSD.org In-Reply-To: from "Howard Lew" at Mar 30, 95 08:43:30 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1758 Sender: bugs-owner@FreeBSD.org Precedence: bulk > > > > On Thu, 30 Mar 1995, Brian Litzinger wrote: > > > > > : I upgraded to 950322 SNAP from 950210 SNAP, and ever since I can't use > > > > : "passwd". (I didn't do a "full re-install", I just unpacked the bin/* > > > > make passwd setuid to root. > > chown root passwd > > chmod 4555 passwd (I think) > > > > Yep, I tried it and that doesn't fix it. Here's a log of what I did: > > paradise: {5} chown root passwd > paradise: {6} passwd > passwd: /etc/master.passwd: Permission denied > paradise: {7} chmod 4555 passwd > paradise: {8} passwd > passwd: /etc/master.passwd: Permission denied > paradise: {9} ls -al *passwd* > -rw------- 1 root wheel 1182 Mar 26 20:01 master.passwd > -r-sr-xr-x 1 root wheel 933 Mar 26 20:01 passwd > paradise: {10} > > Okay, no can do, so changed it back to the way it was: > paradise: {17} ls -al *passwd* > -rw------- 1 root wheel 1182 Mar 26 20:01 master.passwd > -rw-r--r-- 1 root wheel 933 Mar 26 20:01 passwd > paradise: {18} passwd > passwd: /etc/master.passwd: Permission denied > paradise: {19} Your changing permissions on the wrong ``passwd'', the person above was refering to the command in /usr/bin, not the data file in /etc: chown root:bin /usr/bin/passwd chmod 4555 /usr/bin/passwd chown root:wheel /etc/passwd chmod 644 /etc/passwd chown root:wheel /etc/master.passwd chmod 600 /etc/master.passwd > > Any ideas? I think passwd is broken in the new snap release. I'll try > the passwd command from the older snap and see if that fixes the problem. > File permissions where seriously damaged in this release :-(. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD