version 1.15, 2001/07/04 17:20:24 |
version 1.16, 2001/07/07 00:10:49 |
|
|
*/ |
*/ |
|
|
#ifndef lint |
#ifndef lint |
/*static char sccsid[] = "from: @(#)local_passwd.c 5.5 (Berkeley) 5/6/91";*/ |
/*static const char sccsid[] = "from: @(#)local_passwd.c 5.5 (Berkeley) 5/6/91";*/ |
static char rcsid[] = "$OpenBSD$"; |
static const char rcsid[] = "$OpenBSD$"; |
#endif /* not lint */ |
#endif /* not lint */ |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
login_cap_t *lc; |
login_cap_t *lc; |
sigset_t fullset; |
sigset_t fullset; |
time_t period; |
time_t period; |
int pfd, tfd; |
int pfd, tfd = -1; |
char *s = NULL; |
char *s = NULL; |
|
|
if (!(pw = getpwnam(uname))) { |
if (!(pw = getpwnam(uname))) { |