]> granicus.if.org Git - sudo/commitdiff
Make -c option description more accurate.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Dec 2013 18:06:27 +0000 (11:06 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Dec 2013 18:06:27 +0000 (11:06 -0700)
doc/sudo.cat
doc/sudo.man.in
doc/sudo.mdoc.in

index 28bb7409be21c68c3e1707d7b69f8db3ddff73cd..ee0e9736d057ef31fab1110616f9d32edc60333c 100644 (file)
@@ -92,11 +92,12 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
                  either a class name as defined in _\b/_\be_\bt_\bc_\b/_\bl_\bo_\bg_\bi_\bn_\b._\bc_\bo_\bn_\bf, or a
                  single `-' character.  If _\bc_\bl_\ba_\bs_\bs is -, the default login class
                  of the target user will be used.  Otherwise, the command must
-                 be run as root, or s\bsu\bud\bdo\bo must be run from a shell that is
-                 already root.  If the command is being run as a login shell,
-                 additional _\b/_\be_\bt_\bc_\b/_\bl_\bo_\bg_\bi_\bn_\b._\bc_\bo_\bn_\bf settings, such as the umask and
-                 environment variables, will be applied if present.  This
-                 option is only available on systems with BSD login classes.
+                 be run as the superuser (user ID 0), or s\bsu\bud\bdo\bo must be run from
+                 a shell that is already running as the superuser.  If the
+                 command is being run as a login shell, additional
+                 _\b/_\be_\bt_\bc_\b/_\bl_\bo_\bg_\bi_\bn_\b._\bc_\bo_\bn_\bf settings, such as the umask and environment
+                 variables, will be applied if present.  This option is only
+                 available on systems with BSD login classes.
 
      -\b-E\bE, -\b--\b-p\bpr\bre\bes\bse\ber\brv\bve\be-\b-e\ben\bnv\bv
                  Indicates to the security policy that the user wishes to
index 43e2d915c699cf6580085b7ad74bc0e966100dae..9852fb27430a59095d680a54fed68f24d482bb38 100644 (file)
@@ -241,9 +241,9 @@ If
 is
 \fR-\fR,
 the default login class of the target user will be used.
-Otherwise, the command must be run as root, or
+Otherwise, the command must be run as the superuser (user ID 0), or
 \fBsudo\fR
-must be run from a shell that is already root.
+must be run from a shell that is already running as the superuser.
 If the command is being run as a login shell, additional
 \fI/etc/login.conf\fR
 settings, such as the umask and environment variables, will
index c0cc5e6af6606196198a8b0ff883229259afb94d..c8dbfdeb873edac879cfea665b1244b86d8f1549 100644 (file)
@@ -277,9 +277,9 @@ If
 is
 .Li - ,
 the default login class of the target user will be used.
-Otherwise, the command must be run as root, or
+Otherwise, the command must be run as the superuser (user ID 0), or
 .Nm sudo
-must be run from a shell that is already root.
+must be run from a shell that is already running as the superuser.
 If the command is being run as a login shell, additional
 .Pa /etc/login.conf
 settings, such as the umask and environment variables, will