diff options
-rw-r--r-- | usr.sbin/pw/pw_conf.c | 5 | ||||
-rw-r--r-- | usr.sbin/pw/pw_user.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/pw/pw_conf.c b/usr.sbin/pw/pw_conf.c index dc1bd61..387c462 100644 --- a/usr.sbin/pw/pw_conf.c +++ b/usr.sbin/pw/pw_conf.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id: pw_conf.c,v 1.7 1997/10/10 06:23:36 charnier Exp $"; + "$Id: pw_conf.c,v 1.8 1999/02/23 07:15:10 davidn Exp $"; #endif /* not lint */ #include <string.h> @@ -98,7 +98,8 @@ static struct userconf config = 1000, 32000, /* Allowed range of uids */ 1000, 32000, /* Allowed range of gids */ 0, /* Days until account expires */ - 0 /* Days until password expires */ + 0, /* Days until password expires */ + 0 /* size of default_group array */ }; static char const *comments[_UC_FIELDS] = diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c index 0eb9802..c1bb8e6 100644 --- a/usr.sbin/pw/pw_user.c +++ b/usr.sbin/pw/pw_user.c @@ -27,7 +27,7 @@ #ifndef lint static const char rcsid[] = - "$Id: pw_user.c,v 1.27 1999/02/23 07:15:10 davidn Exp $"; + "$Id: pw_user.c,v 1.28 1999/03/02 00:53:33 davidn Exp $"; #endif /* not lint */ #include <ctype.h> @@ -54,7 +54,7 @@ static const char rcsid[] = #define LOGNAMESIZE (MAXLOGNAME-1) #endif -static randinit; +static int randinit; static int print_user(struct passwd * pwd, int pretty, int v7); static uid_t pw_uidpolicy(struct userconf * cnf, struct cargs * args); @@ -123,6 +123,7 @@ pw_user(struct userconf * cnf, int mode, struct cargs * args) "User &", "/bin/sh", 0, + 0, 0 }; |