2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 05:48:18 +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:
Todd C. Miller 2004-05-17 20:28:53 +00:00
parent 233fdc787c
commit ed9475a8c2

18
configure vendored
View File

@ -29473,14 +29473,22 @@ echo "${ECHO_T}/var/run/sudo" >&6
EOF
timedir="/var/run/sudo"
else
echo "$as_me:$LINENO: result: /tmp/.odus" >&5
echo "${ECHO_T}/tmp/.odus" >&6
elif test -d "/var/adm"; then
echo "$as_me:$LINENO: result: /var/adm/sudo" >&5
echo "${ECHO_T}/var/adm/sudo" >&6
cat >>confdefs.h <<\EOF
#define _PATH_SUDO_TIMEDIR "/tmp/.odus"
#define _PATH_SUDO_TIMEDIR "/var/adm/sudo"
EOF
timedir="/tmp/.odus"
timedir="/var/adm/sudo"
else
echo "$as_me:$LINENO: result: /usr/adm/sudo" >&5
echo "${ECHO_T}/usr/adm/sudo" >&6
cat >>confdefs.h <<\EOF
#define _PATH_SUDO_TIMEDIR "/usr/adm/sudo"
EOF
timedir="/usr/adm/sudo"
fi