Date: Mon, 6 Jun 2011 15:17:55 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222758 - head/usr.bin/su Message-ID: <201106061517.p56FHtrT036593@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <user> -c <command>', <command> is run within a shell as <user>. PR: 157078 Submitted by: Warren Block <wblock@wonkity.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106061517.p56FHtrT036593>