-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.
|
-A Normally, if sudo requires a password, it will read it from the user's terminal. If the -A
(askpass) option is specified, a (possibly graphical) helper program is executed to read the
user's password and output the password to the standard output. If the SUDO_ASKPASS
environment variable is set, it specifies the path to the helper program. Otherwise, if
/etc/sudo.conf contains a line specifying the askpass program, that value will be used. For
example:
# Path to askpass helper program
Path askpass /usr/X11R6/bin/ssh-askpass
If no askpass program is available, sudo will exit with an error.
|