execute a command as another user |
-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: |
-s [command] The -s (shell) option runs the shell specified by the SHELL environment variable if it is set or the shell as specified in the password database. If a command is specified, it is passed to the shell for execution via the shell's -c option. If no command is specified, an interactive shell is executed. |
-n The -n (non-interactive) option prevents sudo from prompting the user for a password. If a password is required for the command to run, sudo will display an error messages and exit. |