From owner-svn-src-head@FreeBSD.ORG Mon Jun 6 15:17:56 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B4B5106564A; Mon, 6 Jun 2011 15:17:56 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0BAC28FC15; Mon, 6 Jun 2011 15:17:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p56FHtc5036595; Mon, 6 Jun 2011 15:17:55 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p56FHtrT036593; Mon, 6 Jun 2011 15:17:55 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201106061517.p56FHtrT036593@svn.freebsd.org> From: Glen Barber Date: Mon, 6 Jun 2011 15:17:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222758 - head/usr.bin/su X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 15:17:56 -0000 Author: gjb (doc committer) Date: Mon Jun 6 15:17:55 2011 New Revision: 222758 URL: http://svn.freebsd.org/changeset/base/222758 Log: Document that when running 'su -m -c ', is run within a shell as . PR: 157078 Submitted by: Warren Block MFC after: 5 days Modified: head/usr.bin/su/su.1 Modified: head/usr.bin/su/su.1 ============================================================================== --- head/usr.bin/su/su.1 Mon Jun 6 14:46:43 2011 (r222757) +++ head/usr.bin/su/su.1 Mon Jun 6 15:17:55 2011 (r222758) @@ -193,10 +193,10 @@ PAM configuration for .Sh EXAMPLES .Bl -tag -width 5n -compact .It Li "su -m man -c catman" -Runs the command -.Li catman -as user -.Li man . +Starts a shell as user +.Li man , +and runs the command +.Li catman . You will be asked for man's password unless your real UID is 0. Note that the .Fl m