svn commit: r222758 - head/usr.bin/su
Glen Barber
gjb at FreeBSD.org
Mon Jun 6 15:17:56 UTC 2011
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 at 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
More information about the svn-src-head
mailing list