dnl
AC_DEFUN(SUDO_TIMEDIR, [AC_MSG_CHECKING(for timestamp file location)
if test -d "/var/run"; then
- AC_MSG_RESULT(/var/run/.odus)
- AC_DEFINE(_SUDO_PATH_TIMEDIR, "/var/run/.odus")
+ AC_MSG_RESULT(/var/run/sudo)
+ AC_DEFINE(_SUDO_PATH_TIMEDIR, "/var/run/sudo")
elif test -d "/tmp"; then
AC_MSG_RESULT(/tmp/.odus)
AC_DEFINE(_SUDO_PATH_TIMEDIR, "/tmp/.odus")
for setuid programs. (Most modern dynamic loaders do this.)
B<sudo> will check the ownership of its timestamp directory
-(F</var/run/.odus> or F</tmp/.odus> by default) and ignore
+(F</var/run/sudo> or F</tmp/.odus> by default) and ignore
the directory's contents if it is not owned by root and
only read, writable, and executable by root. On systems
that allow users to give files away to root (via chown),