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 <wbl...@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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"