[svn-upgrade] Integrating new upstream version, shadow (4.0.14)

This commit is contained in:
nekral-guest
2007-10-07 11:47:11 +00:00
parent 8451bed8b0
commit 24178ad677
502 changed files with 27080 additions and 14708 deletions

View File

@@ -35,7 +35,7 @@
#include <config.h>
#ident "$Id: newusers.c,v 1.30 2005/10/04 21:05:12 kloczek Exp $"
#ident "$Id: newusers.c,v 1.31 2005/10/19 15:21:07 kloczek Exp $"
#include <sys/types.h>
#include <sys/stat.h>
@@ -44,8 +44,7 @@
#include <grp.h>
#include <fcntl.h>
#ifdef USE_PAM
#include <security/pam_appl.h>
#include <security/pam_misc.h>
#include "pam_defs.h"
#endif /* USE_PAM */
#include "prototypes.h"
#include "defines.h"
@@ -274,13 +273,6 @@ static int add_passwd (struct passwd *pwd, const char *passwd)
return !spw_update (&spent);
}
#ifdef USE_PAM
static struct pam_conv conv = {
misc_conv,
NULL
};
#endif /* USE_PAM */
int main (int argc, char **argv)
{
char buf[BUFSIZ];