From 32935a5430c426d6c8fb7d0fd8b9706961957ea9 Mon Sep 17 00:00:00 2001 From: gjb Date: Mon, 6 Jun 2011 15:17:55 +0000 Subject: Document that when running 'su -m -c ', is run within a shell as . PR: 157078 Submitted by: Warren Block MFC after: 5 days --- usr.bin/su/su.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.bin/su') diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1 index 8b79d41..f06ce14 100644 --- a/usr.bin/su/su.1 +++ b/usr.bin/su/su.1 @@ -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 -- cgit v1.1