Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2001 14:27:46 -0800
From:      dannyman <dannyman@toldme.com>
To:        freebsd-questions@freebsd.org
Subject:   Can't rename passwd!?
Message-ID:  <20010213142746.Y76316@dell.dannyland.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010213142746.Y76316>