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
This commit is contained in:
gjb 2011-06-06 15:17:55 +00:00
parent d3eac6f07d
commit 32935a5430

View File

@ -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