]> granicus.if.org Git - sudo/log
sudo
17 years agoRemove KRB5_KTNAME from environment. Allow COLORTERM.
Todd C. Miller [Thu, 7 Jun 2007 11:52:44 +0000 (11:52 +0000)]
Remove KRB5_KTNAME from environment.  Allow COLORTERM.

17 years agoIf we cannot get a valid service key using the default keytab it
Todd C. Miller [Thu, 7 Jun 2007 11:22:22 +0000 (11:22 +0000)]
If we cannot get a valid service key using the default keytab it
is a fatal error.  Fixes a bug where sudo could be tricked into
allowing access when it should not by a fake KDC.
From Thor Lancelot Simon.

17 years agoUpdate long long checks to use AC_CHECK_TYPES and to cache values.
Todd C. Miller [Sat, 12 May 2007 12:56:46 +0000 (12:56 +0000)]
Update long long checks to use AC_CHECK_TYPES and to cache values.

17 years agoUse AC_FUNC_FNMATCH instead of a homebrew fnmatch checker. We can't
Todd C. Miller [Sat, 12 May 2007 12:07:11 +0000 (12:07 +0000)]
Use AC_FUNC_FNMATCH instead of a homebrew fnmatch checker.  We can't
use AC_REPLACE_FNMATCH since that assumes replacing with GNU fnmatch.

17 years agoAdd closefrom() to LIB_OBJS not SUDO_OBJS if it is missing since we
Todd C. Miller [Fri, 11 May 2007 21:05:12 +0000 (21:05 +0000)]
Add closefrom() to LIB_OBJS not SUDO_OBJS if it is missing since we
need it for visudo now too.

17 years agoAttempt to clarify the bit talking about network numbers w/o netmasks.
Todd C. Miller [Tue, 24 Apr 2007 18:44:19 +0000 (18:44 +0000)]
Attempt to clarify the bit talking about network numbers w/o netmasks.

17 years agoClarify timestamp dir ownership sentence.
Todd C. Miller [Tue, 24 Apr 2007 18:25:14 +0000 (18:25 +0000)]
Clarify timestamp dir ownership sentence.

17 years agoLinux PAM now defines __LINUX_PAM__, not __LIBPAM_VERSION.
Todd C. Miller [Fri, 20 Apr 2007 16:40:59 +0000 (16:40 +0000)]
Linux PAM now defines __LINUX_PAM__, not __LIBPAM_VERSION.
From Dmitry V. Levin.

17 years ago-i is also one of the mutually exclusive options to list it in the
Todd C. Miller [Mon, 16 Apr 2007 16:13:33 +0000 (16:13 +0000)]
-i is also one of the mutually exclusive options to list it in the
warning message.  Noted by Chris Pepper.

17 years agoThe sudoers variable is env_editor, not enveditor.
Todd C. Miller [Thu, 12 Apr 2007 15:18:15 +0000 (15:18 +0000)]
The sudoers variable is env_editor, not enveditor.
From Jean-Francois Saucier.

17 years agoI tracked down the original author so credit him and include his
Todd C. Miller [Thu, 29 Mar 2007 17:30:22 +0000 (17:30 +0000)]
I tracked down the original author so credit him and include his
license info.

17 years agoFix typos; from Jason McIntyre.
Todd C. Miller [Tue, 6 Feb 2007 18:25:35 +0000 (18:25 +0000)]
Fix typos; from Jason McIntyre.

17 years agoRestore signal mask before calling reapchild(). Fixes a possible race
Todd C. Miller [Tue, 6 Feb 2007 18:23:45 +0000 (18:23 +0000)]
Restore signal mask before calling reapchild().  Fixes a possible race
condition that could prevent sudo from properly waiting for the child.

17 years agoDon't declare pw_free() if we are not going to use it.
Todd C. Miller [Wed, 31 Jan 2007 15:02:24 +0000 (15:02 +0000)]
Don't declare pw_free() if we are not going to use it.

17 years agoAdd NOEXEC support for AIX 5.3 which supports LDR_PRELOAD and
Todd C. Miller [Wed, 31 Jan 2007 15:00:48 +0000 (15:00 +0000)]
Add NOEXEC support for AIX 5.3 which supports LDR_PRELOAD and
LDR_PRELOAD64.  The 64-bit version is not currently supported.
Remove zero_env() prototype as it no longer exists.

18 years agoAdd "Auto-Submitted: auto-generated" line to sudo mail for rfc 3834.
Todd C. Miller [Mon, 11 Dec 2006 18:21:29 +0000 (18:21 +0000)]
Add "Auto-Submitted: auto-generated" line to sudo mail for rfc 3834.

18 years agoIf the user enters ^C at the password prompt, abort instead of
Todd C. Miller [Fri, 29 Sep 2006 14:53:42 +0000 (14:53 +0000)]
If the user enters ^C at the password prompt, abort instead of
trying to authenticate with an empty password (which causes an
annoying delay).

18 years agoAdd fcntl F_CLOSEM support to closefrom(); adapted from a diff by
Todd C. Miller [Thu, 17 Aug 2006 15:26:54 +0000 (15:26 +0000)]
Add fcntl F_CLOSEM support to closefrom(); adapted from a diff by
Darren Tucker.

18 years agopw_free() is only used by sudo_freepwcache() so ifdef it out too.
Todd C. Miller [Thu, 17 Aug 2006 15:25:07 +0000 (15:25 +0000)]
pw_free() is only used by sudo_freepwcache() so ifdef it out too.

18 years agoUpdate to latest versions from cvs.savannah.gnu.org
Todd C. Miller [Fri, 4 Aug 2006 15:34:19 +0000 (15:34 +0000)]
Update to latest versions from cvs.savannah.gnu.org

18 years agoMove password/group cache cleaning out of sudo_end{pw,grp}ent() so
Todd C. Miller [Mon, 31 Jul 2006 17:51:44 +0000 (17:51 +0000)]
Move password/group cache cleaning out of sudo_end{pw,grp}ent() so
we can close the passwd/group files early.

18 years agoAdd seteuid() flavor of set_perms() for systems without setreuid()
Todd C. Miller [Mon, 31 Jul 2006 17:50:06 +0000 (17:50 +0000)]
Add seteuid() flavor of set_perms() for systems without setreuid()
or setresuid() that have a working seteuid().  Tested on Darwin.

18 years agosystrace_read() returns ssize_t
Todd C. Miller [Sun, 30 Jul 2006 19:56:11 +0000 (19:56 +0000)]
systrace_read() returns ssize_t

18 years agoFix typo, -lldap vs. -ldap; from Tim Knox.
Todd C. Miller [Sun, 30 Jul 2006 19:53:52 +0000 (19:53 +0000)]
Fix typo, -lldap vs. -ldap; from Tim Knox.

18 years agoFix typo; Matt Ackeret
Todd C. Miller [Fri, 28 Jul 2006 17:12:49 +0000 (17:12 +0000)]
Fix typo; Matt Ackeret

18 years agoPrint sudoers path in -V mode for root.
Todd C. Miller [Mon, 17 Jul 2006 12:25:07 +0000 (12:25 +0000)]
Print sudoers path in -V mode for root.

18 years agoDo a sub tree search instead of a base search (one level in the
Todd C. Miller [Thu, 15 Jun 2006 18:44:42 +0000 (18:44 +0000)]
Do a sub tree search instead of a base search (one level in the
tree only) for sudo right objects.  This allows system administrators
to categorize the rights in a tree to make them easier to manage.

19 years agofix typo
Todd C. Miller [Wed, 28 Dec 2005 18:52:45 +0000 (18:52 +0000)]
fix typo

19 years agoConvert GET_OPT and GET_OPTI to use just 2 args.
Todd C. Miller [Sun, 4 Dec 2005 17:16:36 +0000 (17:16 +0000)]
Convert GET_OPT and GET_OPTI to use just 2 args.
Add timelimit and bind_timelimit support; adapted from gentoo.

19 years agoSupport comments that start in the middle of a line
Todd C. Miller [Wed, 23 Nov 2005 23:57:10 +0000 (23:57 +0000)]
Support comments that start in the middle of a line

19 years agoDefine LDAP_DEPRECATED until we start using ldap_get_values_len()
Todd C. Miller [Wed, 23 Nov 2005 23:56:52 +0000 (23:56 +0000)]
Define LDAP_DEPRECATED until we start using ldap_get_values_len()

19 years agoSilence gcc -Wsign-compare; djm@openbsd.org
Todd C. Miller [Fri, 18 Nov 2005 14:55:24 +0000 (14:55 +0000)]
Silence gcc -Wsign-compare; djm@openbsd.org

19 years agocleanup() now takes an int as an arg so it can be used as a signal
Todd C. Miller [Fri, 18 Nov 2005 01:39:59 +0000 (01:39 +0000)]
cleanup() now takes an int as an arg so it can be used as a signal
handler too.

19 years agoMake a copy of the shell field in the passwd struct for NewArgv to avoid
Todd C. Miller [Fri, 18 Nov 2005 01:38:32 +0000 (01:38 +0000)]
Make a copy of the shell field in the passwd struct for NewArgv to avoid
a use after free situation after sudo_endpwent() is called.

19 years agoAdd mkstemp() for those poor souls without it.
Todd C. Miller [Thu, 17 Nov 2005 01:36:48 +0000 (01:36 +0000)]
Add mkstemp() for those poor souls without it.

19 years agoAdd mkstemp() for those poor souls without it.
Todd C. Miller [Thu, 17 Nov 2005 01:36:47 +0000 (01:36 +0000)]
Add mkstemp() for those poor souls without it.

19 years agoAdd mkstemp() for those poor souls without it.
Todd C. Miller [Thu, 17 Nov 2005 01:36:47 +0000 (01:36 +0000)]
Add mkstemp() for those poor souls without it.

19 years agoAdd PERL5DB to list of environment variables to remove.
Todd C. Miller [Tue, 15 Nov 2005 14:25:03 +0000 (14:25 +0000)]
Add PERL5DB to list of environment variables to remove.

19 years agoInstead of calling the check function twice with a state cookie use
Todd C. Miller [Sun, 13 Nov 2005 20:49:35 +0000 (20:49 +0000)]
Instead of calling the check function twice with a state cookie use
separate check/log functions.

Check more ioctl() calls for failure.

systrace_{read,write} now return the number of bytes read/written
or -1 on error.

19 years agoAdd more environment variables to remove; from gentoo linux
Todd C. Miller [Sun, 13 Nov 2005 19:51:43 +0000 (19:51 +0000)]
Add more environment variables to remove; from gentoo linux
Add some comments about what bad env variables go to what (more to do)

19 years agoMove sudo_end{gr,pw}ent() until just before the exec since they
Todd C. Miller [Fri, 11 Nov 2005 22:23:08 +0000 (22:23 +0000)]
Move sudo_end{gr,pw}ent() until just before the exec since they
free up our cached copy of the passwd structs, including sudo_user
and sudo_runas.  Fixes a use-after-free bug.

19 years agoClose all fd's before executing editor.
Todd C. Miller [Fri, 11 Nov 2005 22:19:53 +0000 (22:19 +0000)]
Close all fd's before executing editor.

19 years agoEnable malloc debugging on OpenBSD when SUDO_DEVEL is set.
Todd C. Miller [Fri, 11 Nov 2005 22:17:59 +0000 (22:17 +0000)]
Enable malloc debugging on OpenBSD when SUDO_DEVEL is set.

19 years agoFix fd leak when lecture file option is enabled. From Jerry Brown
Todd C. Miller [Fri, 11 Nov 2005 16:22:58 +0000 (16:22 +0000)]
Fix fd leak when lecture file option is enabled.  From Jerry Brown

19 years agoAdd PERLLIB, PERL5LIB and PERL5OPT to the default list of environment
Todd C. Miller [Mon, 7 Nov 2005 16:02:22 +0000 (16:02 +0000)]
Add PERLLIB, PERL5LIB and PERL5OPT to the default list of environment
variables to remove.  From Charles Morris

19 years agoadd JAVA_TOOL_OPTIONS to initial_badenv_table for java 5
Todd C. Miller [Tue, 1 Nov 2005 18:24:47 +0000 (18:24 +0000)]
add JAVA_TOOL_OPTIONS to initial_badenv_table for java 5

19 years agoadd PS4 and SHELLOPTS to initial_badenv_table for bash
Todd C. Miller [Fri, 28 Oct 2005 00:35:33 +0000 (00:35 +0000)]
add PS4 and SHELLOPTS to initial_badenv_table for bash

19 years agoFix typo; Toby Peterson
Todd C. Miller [Mon, 15 Aug 2005 00:32:08 +0000 (00:32 +0000)]
Fix typo; Toby Peterson

19 years agoMake return buffers static so they don't get clobbered
Todd C. Miller [Tue, 2 Aug 2005 13:57:55 +0000 (13:57 +0000)]
Make return buffers static so they don't get clobbered

19 years agoFix securid5 authentication, was not checking for ACM_OK. Also add
Todd C. Miller [Thu, 28 Jul 2005 01:14:14 +0000 (01:14 +0000)]
Fix securid5 authentication, was not checking for ACM_OK.  Also add
default cases for the two switch()es.  Problem noted by ccon at worldbank

19 years agoRemove ncat() in favor of just counting bytes and pre-allocating what is
Todd C. Miller [Mon, 27 Jun 2005 00:10:06 +0000 (00:10 +0000)]
Remove ncat() in favor of just counting bytes and pre-allocating what is
needed.

19 years agoFix up some comments
Todd C. Miller [Sun, 26 Jun 2005 23:44:30 +0000 (23:44 +0000)]
Fix up some comments
Add missing fclose() for the rootbinddn case

19 years agoalign struct ldap_config
Todd C. Miller [Sun, 26 Jun 2005 23:38:44 +0000 (23:38 +0000)]
align struct ldap_config

19 years agouse LINE_MAX for max conf file line size
Todd C. Miller [Sun, 26 Jun 2005 23:37:54 +0000 (23:37 +0000)]
use LINE_MAX for max conf file line size

19 years agoadd _PATH_LDAP_SECRET
Todd C. Miller [Sun, 26 Jun 2005 22:36:51 +0000 (22:36 +0000)]
add _PATH_LDAP_SECRET

19 years agoMention rootbinddn
Todd C. Miller [Sun, 26 Jun 2005 22:36:09 +0000 (22:36 +0000)]
Mention rootbinddn
Give example ou=SUDOers container

19 years agoSupport rootbinddn in ldap.conf
Todd C. Miller [Sat, 25 Jun 2005 22:03:10 +0000 (22:03 +0000)]
Support rootbinddn in ldap.conf

19 years agoPreserve DISPLAY environment variable by default.
Todd C. Miller [Sat, 25 Jun 2005 21:46:16 +0000 (21:46 +0000)]
Preserve DISPLAY environment variable by default.

19 years agoset need_lib_prefix=no for all cases; this is safe for LD_PRELOAD
Todd C. Miller [Sat, 25 Jun 2005 20:39:56 +0000 (20:39 +0000)]
set need_lib_prefix=no for all cases; this is safe for LD_PRELOAD

19 years agoset need_version=no for all cases; this is safe for LD_PRELOAD
Todd C. Miller [Sat, 25 Jun 2005 20:15:55 +0000 (20:15 +0000)]
set need_version=no for all cases; this is safe for LD_PRELOAD

19 years agotypo
Todd C. Miller [Sat, 25 Jun 2005 18:45:09 +0000 (18:45 +0000)]
typo

19 years agoAdd dragonfly
Todd C. Miller [Sat, 25 Jun 2005 18:33:01 +0000 (18:33 +0000)]
Add dragonfly

19 years agoFix call to pam_end() when pam_open_session() fails.
Todd C. Miller [Sat, 25 Jun 2005 18:29:17 +0000 (18:29 +0000)]
Fix call to pam_end() when pam_open_session() fails.

19 years agoregen
Todd C. Miller [Sat, 25 Jun 2005 18:21:09 +0000 (18:21 +0000)]
regen

19 years agorebuild acsite.m4 from libtool 1.9f libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4
Todd C. Miller [Sat, 25 Jun 2005 18:20:43 +0000 (18:20 +0000)]
rebuild acsite.m4 from libtool 1.9f  libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4

19 years agomerge in local changes:
Todd C. Miller [Sat, 25 Jun 2005 18:08:10 +0000 (18:08 +0000)]
merge in local changes:
config.guess:
 o better openbsd support
config.sub:
 o hiuxmpp support
ltmain.sh
 o remove requirement that libs must begin with "lib"
 o don't print a bunch of crap about library installs
 o don't run ldconfig

19 years agolibtool 1.9f
Todd C. Miller [Sat, 25 Jun 2005 18:05:44 +0000 (18:05 +0000)]
libtool 1.9f

19 years agoUpdate with autoupdate and make minor changes for libtool 1.9f
Todd C. Miller [Sat, 25 Jun 2005 18:04:30 +0000 (18:04 +0000)]
Update with autoupdate and make minor changes for libtool 1.9f

19 years agodon't call sudo_ldap_display_cmnd if ldap not setup
Todd C. Miller [Thu, 23 Jun 2005 03:19:00 +0000 (03:19 +0000)]
don't call sudo_ldap_display_cmnd if ldap not setup

19 years agoMove declatation of struct timespec to its own include files for
Todd C. Miller [Thu, 23 Jun 2005 03:04:35 +0000 (03:04 +0000)]
Move declatation of struct timespec to its own include files for
systems without it since it needs time_t defined.

19 years agoMove declatation of struct timespec to its own include files for
Todd C. Miller [Thu, 23 Jun 2005 03:04:35 +0000 (03:04 +0000)]
Move declatation of struct timespec to its own include files for
systems without it since it needs time_t defined.

19 years agoMove declatation of struct timespec to its own include files for
Todd C. Miller [Thu, 23 Jun 2005 03:04:35 +0000 (03:04 +0000)]
Move declatation of struct timespec to its own include files for
systems without it since it needs time_t defined.

19 years agoMove declatation of struct timespec to its own include files for
Todd C. Miller [Thu, 23 Jun 2005 03:04:35 +0000 (03:04 +0000)]
Move declatation of struct timespec to its own include files for
systems without it since it needs time_t defined.

19 years agoMove declatation of struct timespec to its own include files for
Todd C. Miller [Thu, 23 Jun 2005 03:04:35 +0000 (03:04 +0000)]
Move declatation of struct timespec to its own include files for
systems without it since it needs time_t defined.

19 years agoDon't set safe_cmnd for the "sudo ALL" case.
Todd C. Miller [Thu, 23 Jun 2005 02:57:18 +0000 (02:57 +0000)]
Don't set safe_cmnd for the "sudo ALL" case.

19 years agoCall pam_open_session() and pam_close_session() to give pam_limits a
Todd C. Miller [Fri, 27 May 2005 05:59:02 +0000 (05:59 +0000)]
Call pam_open_session() and pam_close_session() to give pam_limits a
chance to run.  Idea from Karel Zak.

19 years agoAdd explicit cast from mode_t -> u_int in printf to silence warnings on Solaris
Todd C. Miller [Sun, 24 Apr 2005 23:24:58 +0000 (23:24 +0000)]
Add explicit cast from mode_t -> u_int in printf to silence warnings on Solaris

19 years agoinclude grp.h to silence a warning on Solaris
Todd C. Miller [Sun, 24 Apr 2005 23:22:19 +0000 (23:22 +0000)]
include grp.h to silence a warning on Solaris

19 years agoFix printing of += and -= defaults.
Todd C. Miller [Sat, 23 Apr 2005 19:10:16 +0000 (19:10 +0000)]
Fix printing of += and -= defaults.

19 years agoSanity check number of syscall args with argsize. Not really needed
Todd C. Miller [Sun, 17 Apr 2005 05:21:24 +0000 (05:21 +0000)]
Sanity check number of syscall args with argsize.  Not really needed
but a little paranoia never hurts.

19 years agoDon't do pointer arithmetic on void *
Todd C. Miller [Sun, 17 Apr 2005 05:18:24 +0000 (05:18 +0000)]
Don't do pointer arithmetic on void *
Use int, not size_t/ssize_t for systrace lengths (since it uses int)

19 years agoAdd some memsets for paranoia
Todd C. Miller [Sat, 16 Apr 2005 07:14:34 +0000 (07:14 +0000)]
Add some memsets for paranoia
Fix namespace collsion w/ error
Check rval of decode_args() and update_env()
Remove improper setting of validated variable

19 years agoIn -l mode, only check local sudoers file if def_ignore_sudoers is not set
Todd C. Miller [Tue, 12 Apr 2005 01:37:08 +0000 (01:37 +0000)]
In -l mode, only check local sudoers file if def_ignore_sudoers is not set
and call LDAP versions from display_privs() and display_cmnd() instead
of directly from main().  Because of this we need to defer closing
the ldap connection until after -l processing has ocurred and we
must pass in the ldap pointer to display_privs() and display_cmnd().

19 years agoReorganize LDAP code to better match normal sudoers parsing. Instead
Todd C. Miller [Tue, 12 Apr 2005 01:33:23 +0000 (01:33 +0000)]
Reorganize LDAP code to better match normal sudoers parsing.  Instead
of storing strings for later printing in -l mode we do another query
since the authenticating user and the user being listed may not be
the same (the new -U flag).  Also add support for "sudo -l command".

There is still a fair bit if duplicated code that can probably
be refactored.

19 years agoReplace pass variable with do_netgr for better readability.
Todd C. Miller [Mon, 11 Apr 2005 04:37:49 +0000 (04:37 +0000)]
Replace pass variable with do_netgr for better readability.

19 years agouse DPRINTF macro
Todd C. Miller [Mon, 11 Apr 2005 03:49:46 +0000 (03:49 +0000)]
use DPRINTF macro

19 years agoestrdup, not strdup
Todd C. Miller [Mon, 11 Apr 2005 03:18:38 +0000 (03:18 +0000)]
estrdup, not strdup

19 years agoAdd macro to test if the tag changed to improve readability.
Todd C. Miller [Sun, 10 Apr 2005 21:44:27 +0000 (21:44 +0000)]
Add macro to test if the tag changed to improve readability.

19 years agoAvoid printing defaults header if there are no defaults to print...
Todd C. Miller [Sun, 10 Apr 2005 21:40:41 +0000 (21:40 +0000)]
Avoid printing defaults header if there are no defaults to print...

19 years agoFix a warning on systems without strlcpy().
Todd C. Miller [Sun, 10 Apr 2005 19:29:45 +0000 (19:29 +0000)]
Fix a warning on systems without strlcpy().

19 years agoUse macros where possible for sudo_grdup() like sudo_pwdup().
Todd C. Miller [Sun, 10 Apr 2005 17:32:42 +0000 (17:32 +0000)]
Use macros where possible for sudo_grdup() like sudo_pwdup().

19 years agoIt is possible for tv_usec to hold >= 1000000 usecs so add in tv_usec / 1000000.
Todd C. Miller [Fri, 8 Apr 2005 21:04:22 +0000 (21:04 +0000)]
It is possible for tv_usec to hold >= 1000000 usecs so add in tv_usec / 1000000.

19 years agoThe component in krb5_principal_get_comp_string() should be 1, not 0
Todd C. Miller [Wed, 30 Mar 2005 04:38:25 +0000 (04:38 +0000)]
The component in krb5_principal_get_comp_string() should be 1, not 0
for Heimdal.  From Alex Plotnick.

19 years agoAdd efree() for consistency with emalloc() et al. Allows us to rely
Todd C. Miller [Tue, 29 Mar 2005 14:29:47 +0000 (14:29 +0000)]
Add efree() for consistency with emalloc() et al.  Allows us to rely
on C89 behavior (free(NULL) is valid) even on K&R.

19 years agoMove initgroups() for -U option into display_privs() so group matching
Todd C. Miller [Tue, 29 Mar 2005 03:33:05 +0000 (03:33 +0000)]
Move initgroups() for -U option into display_privs() so group matching
in sudoers works correctly.

19 years agoRemoved duplicate call to ldap_unbind_s introduced along with sudo_ldap_close.
Todd C. Miller [Sun, 27 Mar 2005 02:34:25 +0000 (02:34 +0000)]
Removed duplicate call to ldap_unbind_s introduced along with sudo_ldap_close.

19 years agoAdd missing space in Defaults printing
Todd C. Miller [Sun, 27 Mar 2005 01:01:02 +0000 (01:01 +0000)]
Add missing space in Defaults printing

19 years agoSync sudo_pwdup with OpenBSD changes: use macros for size computaton and
Todd C. Miller [Fri, 25 Mar 2005 17:36:52 +0000 (17:36 +0000)]
Sync sudo_pwdup with OpenBSD changes: use macros for size computaton and
string copies.

19 years agoZero old pw_passwd before replacing with version from shadow file.
Todd C. Miller [Sat, 19 Mar 2005 03:08:40 +0000 (03:08 +0000)]
Zero old pw_passwd before replacing with version from shadow file.

19 years agoOnly attempt shadow password detection if PAM is not being used
Todd C. Miller [Sat, 19 Mar 2005 03:07:27 +0000 (03:07 +0000)]
Only attempt shadow password detection if PAM is not being used
Add shadow_* variables to make shadow password detection more generic.