From owner-svn-src-all@FreeBSD.ORG Mon Jun 6 19:33:19 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D91BA1065688; Mon, 6 Jun 2011 19:33:19 +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 C99168FC1D; Mon, 6 Jun 2011 19:33:19 +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 p56JXJ2r044834; Mon, 6 Jun 2011 19:33:19 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p56JXJp3044832; Mon, 6 Jun 2011 19:33:19 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201106061933.p56JXJp3044832@svn.freebsd.org> From: Glen Barber Date: Mon, 6 Jun 2011 19:33:19 +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: r222770 - head/usr.bin/su X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 06 Jun 2011 19:33:20 -0000 Author: gjb (doc committer) Date: Mon Jun 6 19:33:19 2011 New Revision: 222770 URL: http://svn.freebsd.org/changeset/base/222770 Log: Attempt to clear up some confusion in the following example, by stating the '-c' argument is passed to the shell, not to su(1), which would indicate the login class. 'su -m -c ' Submitted by: Warren Block (followup to 157078) 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 19:06:15 2011 (r222769) +++ head/usr.bin/su/su.1 Mon Jun 6 19:33:19 2011 (r222770) @@ -203,6 +203,12 @@ Note that the option is required since user .Dq man does not have a valid shell by default. +In this example, +.Fl c +is passed to the shell of the user +.Dq man , +and is not interpreted as an argument to +.Nm . .It Li "su -m man -c 'catman /usr/share/man /usr/local/man'" Same as above, but the target command consists of more than a single word and hence is quoted for use with the