314) Real Kerberos 5 support from Frank Cusack <fcusack@iconnet.net>.
315) FWTK 'authsrv' support from Kevin Kadow <kadow@MSG.NET>.
+
+316) Fixed handling and documentation of -with-umask.
id, *not* the symbolic name. Also note that this is actually set in
the Makefile. The default is 0.
- --with-sudo-umask
+ --with-umask
Umask to use when running the root command. The default is 0022.
- --without-sudo-umask
+ --without-umask
Preserves the umask of the user invoking sudo.
--with-runas-default=user
--with-sudoers-gid gid that owns sudoers file (defaults to 0)"
ac_help="$ac_help
--with-umask umask with which the prog should run (default is 0022)
- --without-sudo-umask Preserves the umask of the user invoking sudo."
+ --without-umask Preserves the umask of the user invoking sudo."
ac_help="$ac_help
--with-runas-default User to run commands as (default is "root""
ac_help="$ac_help
no) echo "$ac_t""user" 1>&6
;;
[0-9]*) cat >> confdefs.h <<EOF
-#define SUDO_UMASK "$with_umask"
+#define SUDO_UMASK $with_umask
EOF
echo "$ac_t""$with_umask" 1>&6
if test "$with_pam" = "yes"; then
echo ""
echo "You will need to customize sample.pam and install it as /etc/pam.d/sudo"
- echo "for RedHat Linux 5.x or modify /etc/pam.conf for Solaris."
echo ""
fi
AC_MSG_CHECKING(for umask programs should be run with)
AC_ARG_WITH(umask, [ --with-umask umask with which the prog should run (default is 0022)
- --without-sudo-umask Preserves the umask of the user invoking sudo.],
+ --without-umask Preserves the umask of the user invoking sudo.],
[case $with_umask in
yes) echo "Must give --with-umask an argument."
exit 1
;;
no) AC_MSG_RESULT(user)
;;
- [[0-9]]*) AC_DEFINE_UNQUOTED(SUDO_UMASK, "$with_umask")
+ [[0-9]]*) AC_DEFINE_UNQUOTED(SUDO_UMASK, $with_umask)
AC_MSG_RESULT([$with_umask])
;;
*) echo "You must enter a numeric mask."
if test "$with_pam" = "yes"; then
echo ""
echo "You will need to customize sample.pam and install it as /etc/pam.d/sudo"
- echo "for RedHat Linux 5.x or modify /etc/pam.conf for Solaris."
echo ""
fi