mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 14:55:12 +00:00
/var/run/.odus -> /var/run/sudo
This commit is contained in:
4
aclocal.m4
vendored
4
aclocal.m4
vendored
@@ -140,8 +140,8 @@ dnl Where the log file goes, use /var/log if it exists, else /{var,usr}/adm
|
|||||||
dnl
|
dnl
|
||||||
AC_DEFUN(SUDO_TIMEDIR, [AC_MSG_CHECKING(for timestamp file location)
|
AC_DEFUN(SUDO_TIMEDIR, [AC_MSG_CHECKING(for timestamp file location)
|
||||||
if test -d "/var/run"; then
|
if test -d "/var/run"; then
|
||||||
AC_MSG_RESULT(/var/run/.odus)
|
AC_MSG_RESULT(/var/run/sudo)
|
||||||
AC_DEFINE(_SUDO_PATH_TIMEDIR, "/var/run/.odus")
|
AC_DEFINE(_SUDO_PATH_TIMEDIR, "/var/run/sudo")
|
||||||
elif test -d "/tmp"; then
|
elif test -d "/tmp"; then
|
||||||
AC_MSG_RESULT(/tmp/.odus)
|
AC_MSG_RESULT(/tmp/.odus)
|
||||||
AC_DEFINE(_SUDO_PATH_TIMEDIR, "/tmp/.odus")
|
AC_DEFINE(_SUDO_PATH_TIMEDIR, "/tmp/.odus")
|
||||||
|
2
sudo.pod
2
sudo.pod
@@ -130,7 +130,7 @@ dynamic loader disables user-defined library search paths
|
|||||||
for setuid programs. (Most modern dynamic loaders do this.)
|
for setuid programs. (Most modern dynamic loaders do this.)
|
||||||
|
|
||||||
B<sudo> will check the ownership of its timestamp directory
|
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
|
the directory's contents if it is not owned by root and
|
||||||
only read, writable, and executable by root. On systems
|
only read, writable, and executable by root. On systems
|
||||||
that allow users to give files away to root (via chown),
|
that allow users to give files away to root (via chown),
|
||||||
|
Reference in New Issue
Block a user