Gardner Bell wrote:
After rebuilding world last night I can no longer chmod some system
binaries that I don't need. When attemtping to do so I get a permission denied.
[EMAIL PROTECTED] chmod 000 /bin/rcp
chmod: /bin/rcp: Operation not permitted.
[EMAIL PROTECTED] chmod 000 /bin/rlogin
chmod: /bin/rlogin: Operation not permitted
The only binaries this seems to be happening with are the ones used
for remote operations. Ie: rcp, rlogin, rsh, opieinfo, etc. I
All those have schg flag set on my RELENG_5 system (also, rlogin and rcp
are in /usr/bin, not /bin).
/home/mark{83}# ls -lo /bin/r* /usr/bin/r*
-r-sr-xr-x 1 root wheel schg 18388 13 Jan 09:50 /bin/rcp
-r-xr-xr-x 1 root wheel - 3668 13 Jan 09:50 /bin/realpath
-r-xr-xr-x 2 root wheel - 48832 13 Jan 09:50 /bin/red
....
-r-xr-xr-x 1 root wheel - 55748 13 Jan 09:51 /usr/bin/rlog
-r-sr-xr-x 1 root wheel schg 10804 13 Jan 09:52 /usr/bin/rlogin
-r-xr-xr-x 1 root wheel - 82296 13 Jan 09:52 /usr/bin/rpcgen
-r-xr-xr-x 1 root wheel - 30888 13 Jan 09:52 /usr/bin/rpcinfo
-r-xr-xr-x 1 root wheel - 9964 13 Jan 09:52 /usr/bin/rs
-r-sr-xr-x 1 root wheel schg 8800 13 Jan 09:52 /usr/bin/rsh
-r-xr-xr-x 1 root wheel - 6464 13 Jan 09:52 /usr/bin/rup
-r-xr-xr-x 1 root wheel - 7260 13 Jan 09:52 /usr/bin/ruptime
-r-xr-xr-x 1 root wheel - 6776 13 Jan 09:52 /usr/bin/rusers
-r-xr-xr-x 1 root wheel - 6500 13 Jan 09:52 /usr/bin/rwall
-r-xr-xr-x 1 root wheel - 6256 13 Jan 09:52 /usr/bin/rwho
/home/mark{84}#
Mark
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"