From 4af4a110a700f6e7257cd70b9cde7b9c13b54d3d Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Mon, 6 Jun 2011 15:17:55 +0000 Subject: [PATCH] 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(-) diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1 index 8b79d41b6cb7..f06ce146ca54 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