Options for the su command [see
su(1M)]
can be set or changed with keywords in
/etc/default/su.
The following keywords are recognized by su:
SULOG=filename
Log (in filename)
successful and unsuccessful attempts to execute su.
CONSOLE=device
If a user executes su to become a privileged user
on a device other than device,
a printed message will appear on device
to inform the administrator of that fact.
PATH=path_list
When a user executes su
to become an unprivileged user,
the user's path will be set to path_list.
The default is /usr/bin:/usr/ccs/bin.
SUPATH=path_list
When a user executes su to become a privileged user,
the user's path will be set to path_list.
The default is
/sbin:/usr/sbin:/usr/bin:/etc:/usr/ccs/bin.
PROMPT:
If this parameter exists and is set to No,
the su command does not prompt for a password
(even if one is defined for login_name).
The invoking user, however,
must still have appropriate privilege
to execute su successfully.
If this parameter does not exist,
or is set to anything other than No
(including NULL),
su prompts for a password when invoked
and validates the password
(if one is defined for login_name).