diff options
author | 2002-06-29 08:13:13 +0000 | |
---|---|---|
committer | 2002-06-29 08:13:13 +0000 | |
commit | 9cd5d48762c34d213ca635a76b8d2a7dfdb0581c (patch) | |
tree | 7171412d4c827f1fb364df39ee4575465609ba1d | |
parent | We know noone called Bill Fenenr (diff) | |
download | wireguard-openbsd-9cd5d48762c34d213ca635a76b8d2a7dfdb0581c.tar.xz wireguard-openbsd-9cd5d48762c34d213ca635a76b8d2a7dfdb0581c.zip |
document /var/empty chroot
-rw-r--r-- | libexec/rpc.rstatd/rpc.rstatd.8 | 13 | ||||
-rw-r--r-- | libexec/rpc.rusersd/rpc.rusersd.8 | 15 |
2 files changed, 22 insertions, 6 deletions
diff --git a/libexec/rpc.rstatd/rpc.rstatd.8 b/libexec/rpc.rstatd/rpc.rstatd.8 index c6de6ca2f4d..949d96d720b 100644 --- a/libexec/rpc.rstatd/rpc.rstatd.8 +++ b/libexec/rpc.rstatd/rpc.rstatd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rpc.rstatd.8,v 1.6 2000/01/23 03:05:40 millert Exp $ +.\" $OpenBSD: rpc.rstatd.8,v 1.7 2002/06/29 08:13:13 deraadt Exp $ .\" .\" Copyright (c) 1985, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,13 +31,12 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: rpc.rstatd.8,v 1.6 2000/01/23 03:05:40 millert Exp $ +.\" $OpenBSD: rpc.rstatd.8,v 1.7 2002/06/29 08:13:13 deraadt Exp $ .\" .Dd June 7, 1993 .Dt RPC.RSTATD 8 .Os .Sh NAME -.Nm rstatd , .Nm rpc.rstatd .Nd kernel statistics server .Sh SYNOPSIS @@ -52,6 +51,14 @@ The .Nm rpc.rstatd daemon is normally invoked by .Xr inetd 8 . +At startup, +.Nm +performs a +.Xr chroot 2 +to +.Pa /var/empty +and switches to user +.Va nobody . .Pp .Nm rpc.rstatd uses an RPC protocol defined in diff --git a/libexec/rpc.rusersd/rpc.rusersd.8 b/libexec/rpc.rusersd/rpc.rusersd.8 index 20231fcdb28..5df94ead1e1 100644 --- a/libexec/rpc.rusersd/rpc.rusersd.8 +++ b/libexec/rpc.rusersd/rpc.rusersd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rpc.rusersd.8,v 1.4 1999/07/09 13:35:51 aaron Exp $ +.\" $OpenBSD: rpc.rusersd.8,v 1.5 2002/06/29 08:13:13 deraadt Exp $ .\" .\" Copyright (c) 1985, 1991 The Regents of the University of California. .\" All rights reserved. @@ -31,13 +31,12 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: rpc.rusersd.8,v 1.4 1999/07/09 13:35:51 aaron Exp $ +.\" $Id: rpc.rusersd.8,v 1.5 2002/06/29 08:13:13 deraadt Exp $ .\" .Dd June 7, 1993 .Dt RPC.RUSERSD 8 .Os .Sh NAME -.Nm rusersd , .Nm rpc.rusersd .Nd logged in users server .Sh SYNOPSIS @@ -46,6 +45,16 @@ .Nm rpc.rusersd is a server which returns information about users currently logged in to the system. +At startup, +.Nm +opens +.Pa /var/run/utmp +and subsequently performs a +.Xr chroot 2 +to +.Pa /var/empty +and switches to user +.Va nobody . .Pp The currently logged in users are queried using the .Xr rusers 1 |