summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2013-08-11 11:06:49 +0000
committertrasz <trasz@FreeBSD.org>2013-08-11 11:06:49 +0000
commit68b7f99701619961575786ae568adc85ad055d5c (patch)
tree71059636dee327568013ffe67a00f4476c23bc19 /usr.bin
parent1fae52dd39d0ffbdf45da497349e773ce03b2334 (diff)
downloadFreeBSD-src-68b7f99701619961575786ae568adc85ad055d5c.zip
FreeBSD-src-68b7f99701619961575786ae568adc85ad055d5c.tar.gz
In su(1), fix option ordering and clarify that the login class specified
must be defined in login.conf. MFC after: 1 month
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/su/su.112
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1
index d9180e3..9eb24d3 100644
--- a/usr.bin/su/su.1
+++ b/usr.bin/su/su.1
@@ -28,7 +28,7 @@
.\" @(#)su.1 8.2 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd June 6, 2011
+.Dd August 11, 2013
.Dt SU 1
.Os
.Sh NAME
@@ -37,8 +37,8 @@
.Sh SYNOPSIS
.Nm
.Op Fl
-.Op Fl flms
.Op Fl c Ar class
+.Op Fl flms
.Op Ar login Op Ar args
.Sh DESCRIPTION
The
@@ -85,6 +85,11 @@ are also normally retained unless the target login has a user ID of 0.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl c Ar class
+Use the settings of the specified login class.
+The login class must be defined in
+.Xr login.conf 5 .
+Only allowed for the super-user.
.It Fl f
If the invoked shell is
.Xr csh 1 ,
@@ -139,9 +144,6 @@ is not sufficient to transition to the user's default MAC label.
If the label cannot be set,
.Nm
will fail.
-.It Fl c Ar class
-Use the settings of the specified login class.
-Only allowed for the super-user.
.El
.Pp
The
OpenPOWER on IntegriCloud