mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 05:17:54 +00:00
No longer use /tmp/.odus as a possible timestamp dir unless specifically
configured to do so. Instead, if no /var/run exists, use /var/adm/sudo or /usr/adm/sudo.
This commit is contained in:
parent
13050dc4d5
commit
233fdc787c
10
aclocal.m4
vendored
10
aclocal.m4
vendored
@ -144,10 +144,14 @@ elif test -d "/var/run"; then
|
||||
AC_MSG_RESULT(/var/run/sudo)
|
||||
SUDO_DEFINE(_PATH_SUDO_TIMEDIR, "/var/run/sudo")
|
||||
timedir="/var/run/sudo"
|
||||
elif test -d "/var/adm"; then
|
||||
AC_MSG_RESULT(/var/adm/sudo)
|
||||
SUDO_DEFINE(_PATH_SUDO_TIMEDIR, "/var/adm/sudo")
|
||||
timedir="/var/adm/sudo"
|
||||
else
|
||||
AC_MSG_RESULT(/tmp/.odus)
|
||||
SUDO_DEFINE(_PATH_SUDO_TIMEDIR, "/tmp/.odus")
|
||||
timedir="/tmp/.odus"
|
||||
AC_MSG_RESULT(/usr/adm/sudo)
|
||||
SUDO_DEFINE(_PATH_SUDO_TIMEDIR, "/usr/adm/sudo")
|
||||
timedir="/usr/adm/sudo"
|
||||
fi
|
||||
])dnl
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user