summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-01-31 19:40:01 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-01-31 19:40:01 +0000
commit7e3dfcbe41ca1ebb26347bd49dc3dd34d9e509d4 (patch)
tree118905ed1d0fd16881163e18d072110fd1e491e4 /sbin
parent6209c9c85ab1ceb6ca82db6c20890cc2134ca7f5 (diff)
Document what fs.posix.setuid means.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/sysctl/sysctl.810
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 9b850e74d21..6d6a78d2dfa 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.8,v 1.13 1997/12/29 14:31:18 deraadt Exp $
+.\" $OpenBSD: sysctl.8,v 1.14 1998/01/31 19:40:00 millert Exp $
.\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $
.\"
.\" Copyright (c) 1993
@@ -226,6 +226,14 @@ Information about the load average history may be obtained with
sysctl vm.loadavg
.Ed
.Pp
+To make the
+.Xr chown 2
+system call use traditional BSD semantics (don't clear setuid/setgid bits),
+one would do the following:
+.Bd -literal -offset indent -compact
+sysctl -w fs.posix.setuid=0
+.Ed
+.Pp
Set the list of reserved TCP ports that should not be allocated
by the kernel dynamically. This can be used to keep daemons
from stealing a specific port that another program needs to function.