diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-12-12 13:26:24 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-12-12 13:26:24 +0000 |
commit | 5888e8376f6783bc97d33e877e13ebf80824ed35 (patch) | |
tree | ed1cc55a84016d875421ebffab612d4417d87df9 /usr.bin | |
parent | 5a6d987ebb94ecc428b0902fcfd8e69a864e39a8 (diff) |
change the proposed permissions for the chroot'ed executables: use
0555 instead of 0655, and 4555 for ping and traceroute (they require
the setuid bit to open a raw socket before privilege revocation).
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/bgplg/bgplg.8 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/bgplg/bgplg.8 b/usr.bin/bgplg/bgplg.8 index 60c864c4492..b29bcb04c5a 100644 --- a/usr.bin/bgplg/bgplg.8 +++ b/usr.bin/bgplg/bgplg.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bgplg.8,v 1.1 2006/12/11 23:10:10 reyk Exp $ +.\" $OpenBSD: bgplg.8,v 1.2 2006/12/12 13:26:23 reyk Exp $ .\" .\" Copyright (c) 2005, 2006 Reyk Floeter <reyk@vantronix.net> .\" @@ -67,8 +67,8 @@ and .Xr traceroute 8 will be hidden from looking glass command list): .Bd -literal -offset indent -# chmod 0655 /var/www/cgi-bin/bgplg -# chmod 0655 /var/www/bin/bgpctl +# chmod 0555 /var/www/cgi-bin/bgplg +# chmod 0555 /var/www/bin/bgpctl .Ed .It The programs @@ -136,7 +136,7 @@ environment of the server. To enable the corresponding functionality, use the .Xr chmod 1 -utility to manually set the file permission mode to 0655 or anything +utility to manually set the file permission mode to 0555 or anything appropriate. .Pp .Bl -tag -width "/var/www/bin/tracerouteXX" -compact @@ -153,10 +153,12 @@ program used to query information from The .Xr ping 8 program used to send ICMP ECHO_REQUEST packets to network hosts. +Requires the set-user-ID bit, set the permission mode to 4555. .It Pa /var/www/bin/traceroute The .Xr traceroute 8 program used to print the route packets take to network hosts. +Requires the set-user-ID bit, set the permission mode to 4555. .El .Sh SEE ALSO .Xr bgpctl 8 , |