From owner-freebsd-questions Tue Feb 13 14:27:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dell.dannyland.org (dell.dannyland.org [64.81.36.13]) by hub.freebsd.org (Postfix) with ESMTP id 00D5037B491 for ; Tue, 13 Feb 2001 14:27:49 -0800 (PST) Received: by dell.dannyland.org (Postfix, from userid 1001) id 49E3C5C27; Tue, 13 Feb 2001 14:27:46 -0800 (PST) Date: Tue, 13 Feb 2001 14:27:46 -0800 From: dannyman To: freebsd-questions@freebsd.org Subject: Can't rename passwd!? Message-ID: <20010213142746.Y76316@dell.dannyland.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 0-14:24 dannyman@never ~> sudo tcsh 0-14:24 root@never ~# mv /usr/bin/passwd /usr/bin/passwd.OLD mv: rename /usr/bin/passwd to /usr/bin/passwd.OLD: Operation not permitted 1-14:24 root@never ~# ls -l /usr/bin/passwd -r-sr-xr-x 2 root wheel 23984 Jul 28 2000 /usr/bin/passwd* 0-14:24 root@never ~# mv /usr/bin/passwd /usr/bin/passwd.OLD mv: rename /usr/bin/passwd to /usr/bin/passwd.OLD: Operation not permitted 1-14:24 root@never ~# rm /usr/bin/passwd override r-sr-xr-x root/wheel schg for /usr/bin/passwd? yes rm: /usr/bin/passwd: Operation not permitted 1-14:25 root@never ~# chmod -s /usr/bin/passwd chmod: /usr/bin/passwd: Operation not permitted 1-14:25 root@never ~# chmod 0 /usr/bin/passwd chmod: /usr/bin/passwd: Operation not permitted AUGHGHGHGH!!!! Trying to replace with a wrapper. Any idea how I can get at this file? :( Thanks, -danny -- http://dannyman.toldme.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message