summaryrefslogtreecommitdiff
path: root/usr.sbin/chroot/chroot.8
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2003-02-11 18:29:18 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2003-02-11 18:29:18 +0000
commitd1feb7b418991fc0cfa458cdf2abd71c8d4ea136 (patch)
treece0bd2185173a336af5e60a3207d49557a0b11d5 /usr.sbin/chroot/chroot.8
parentcfd3c606fff3cd900bb41d748bbc1bcb056e213d (diff)
More -G/-U deletion + style(9) while millert@ is here.
Make sence. millert@ ok
Diffstat (limited to 'usr.sbin/chroot/chroot.8')
-rw-r--r--usr.sbin/chroot/chroot.818
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/chroot/chroot.8 b/usr.sbin/chroot/chroot.8
index 77e34f67bd6..69a4873866d 100644
--- a/usr.sbin/chroot/chroot.8
+++ b/usr.sbin/chroot/chroot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chroot.8,v 1.10 2003/02/08 21:37:04 millert Exp $
+.\" $OpenBSD: chroot.8,v 1.11 2003/02/11 18:29:17 mpech Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -41,8 +41,8 @@
.Nd change root directory
.Sh SYNOPSIS
.Nm chroot
-.Op Fl u Ar user
.Op Fl g Ar group,group,...
+.Op Fl u Ar user
.Ar newroot
.Op Ar command
.Sh DESCRIPTION
@@ -60,6 +60,13 @@ command is restricted to the superuser.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl g Ar group,group,...
+Override the primary and supplemental group IDs.
+The primary group ID is set to the first group in the list.
+Any remaining groups are placed in the supplemental group ID vector.
+Each group listed must exist in the
+.Xr group 5
+databases.
.It Fl u Ar user
Set user ID to
.Ar user
@@ -74,13 +81,6 @@ and
databases unless overridden by the
.Fl g
option.
-.It Fl G Ar group,group,...
-Override the primary and supplemental group IDs.
-The primary group ID is set to the first group in the list.
-Any remaining groups are placed in the supplemental group ID vector.
-Each group listed must exist in the
-.Xr group 5
-databases.
.El
.Sh ENVIRONMENT
.Bl -tag -width SHELL