From owner-svn-src-all@FreeBSD.ORG Tue Sep 24 12:50:04 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 93B119E4; Tue, 24 Sep 2013 12:50:04 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 817522A94; Tue, 24 Sep 2013 12:50:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8OCo4uS075307; Tue, 24 Sep 2013 12:50:04 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8OCo4dI075306; Tue, 24 Sep 2013 12:50:04 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <201309241250.r8OCo4dI075306@svn.freebsd.org> From: Edward Tomasz Napierala Date: Tue, 24 Sep 2013 12:50:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r255847 - stable/9/usr.bin/su X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2013 12:50:04 -0000 Author: trasz Date: Tue Sep 24 12:50:04 2013 New Revision: 255847 URL: http://svnweb.freebsd.org/changeset/base/255847 Log: MFC r254215: In su(1), fix option ordering and clarify that the login class specified must be defined in login.conf. Modified: stable/9/usr.bin/su/su.1 Directory Properties: stable/9/usr.bin/su/ (props changed) Modified: stable/9/usr.bin/su/su.1 ============================================================================== --- stable/9/usr.bin/su/su.1 Tue Sep 24 12:48:02 2013 (r255846) +++ stable/9/usr.bin/su/su.1 Tue Sep 24 12:50:04 2013 (r255847) @@ -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