execute a command as another user |
-E The -E (preserve environment) option indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the -E option is specified and the user does not have permission to preserve the environment. |
-p prompt The -p (prompt) option allows you to override the default password prompt and use a custom one. The following percent (`%') escapes are supported by the sudoers policy: |
-P The -P (preserve group vector) option causes sudo to preserve the invoking user's group vector unaltered. By default, the sudoers policy will initialize the group vector to the list of groups the target user is in. The real and effective group IDs, however, are still set to match the target user. |