summaryrefslogtreecommitdiff
path: root/libexec/rpc.rusersd/rpc.rusersd.8
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-29 08:13:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-29 08:13:14 +0000
commit5efd75f52f056ae29ee0e21811fa02d0f01840f4 (patch)
tree2fd508e156fbe488c5e79c28ab6ea37848a8f9c8 /libexec/rpc.rusersd/rpc.rusersd.8
parente69e802b7ab0f7fed869a88b8fe0480adfead5f1 (diff)
document /var/empty chroot
Diffstat (limited to 'libexec/rpc.rusersd/rpc.rusersd.8')
-rw-r--r--libexec/rpc.rusersd/rpc.rusersd.815
1 files changed, 12 insertions, 3 deletions
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