Author: trasz
Date: Sun Aug 11 11:06:49 2013
New Revision: 254215
URL: http://svnweb.freebsd.org/changeset/base/254215

Log:
  In su(1), fix option ordering and clarify that the login class specified
  must be defined in login.conf.
  
  MFC after:    1 month

Modified:
  head/usr.bin/su/su.1

Modified: head/usr.bin/su/su.1
==============================================================================
--- head/usr.bin/su/su.1        Sun Aug 11 10:54:16 2013        (r254214)
+++ head/usr.bin/su/su.1        Sun Aug 11 11:06:49 2013        (r254215)
@@ -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 ta
 .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 u
 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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to