Patch for changing expired passwords

openssh-unix-dev at thewrittenword.com openssh-unix-dev at thewrittenword.com
Sat Oct 13 08:11:52 EST 2001


On Fri, Oct 12, 2001 at 03:34:52PM -0500, Dave Dykstra wrote:
> --- configure.in.O	Fri Oct 12 14:42:39 2001
> +++ configure.in	Fri Oct 12 15:00:57 2001
> @@ -1449,6 +1449,10 @@
>  	AC_DEFINE_UNQUOTED(RSH_PATH, "$rsh_path")
>  fi
>  
> +AC_PATH_PROG(PASSWD_PATH, passwd)
> +AC_DEFINE_UNQUOTED(PASSWD_PATH, "$PASSWD_PATH")
> +
> +

If you make this:
  AC_DEFINE_UNQUOTED(PASSWD_PATH, "$PASSWD_PATH",
    [Define if passwd is found in your path])
you won't need your change to acconfig.h.

>  # Check for mail directory (last resort if we cannot get it from headers)
>  if test ! -z "$MAIL" ; then
>  	maildir=`dirname $MAIL`
> --- acconfig.h.O	Fri Oct 12 14:42:37 2001
> +++ acconfig.h	Fri Oct 12 14:58:43 2001
> @@ -214,6 +214,9 @@
>  /* Define if rsh is found in your path */
>  #undef RSH_PATH
>  
> +/* Define if passwd is found in your path */
> +#undef PASSWD_PATH
> +
>  /* Define if you want to allow MD5 passwords */
>  #undef HAVE_MD5_PASSWORDS

-- 
albert chin (china at thewrittenword.com)



More information about the openssh-unix-dev mailing list