mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
_PATH_SUDO_LOGFILE now set based on configure
This commit is contained in:
parent
40d004931c
commit
af2bbaf7ca
@ -42,10 +42,6 @@
|
||||
#define _PATH_SUDO_TIMEDIR "/tmp/.odus"
|
||||
#endif /* _PATH_SUDO_TIMEDIR */
|
||||
|
||||
#ifndef _PATH_SUDO_LOGFILE
|
||||
#define _PATH_SUDO_LOGFILE "/var/adm/sudo.log"
|
||||
#endif /* _PATH_SUDO_LOGFILE */
|
||||
|
||||
#ifndef _PATH_TTY
|
||||
#define _PATH_TTY "/dev/tty"
|
||||
#endif /* _PATH_TTY */
|
||||
@ -55,6 +51,14 @@
|
||||
* configure's values here if you want.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Where to put the sudo log file when logging to a file this
|
||||
* is /var/log/sudo.log if /var/log exists, else /var/adm/sudo.log
|
||||
*/
|
||||
#ifndef _PATH_SUDO_LOGFILE
|
||||
#define _PATH_SUDO_LOGFILE _SUDO_PATH_LOGFILE
|
||||
#endif /* _PATH_SUDO_LOGFILE */
|
||||
|
||||
#ifndef _PATH_SENDMAIL
|
||||
#define _PATH_SENDMAIL _SUDO_PATH_SENDMAIL
|
||||
#endif /* _PATH_SENDMAIL */
|
||||
|
Loading…
x
Reference in New Issue
Block a user