version 1.1, 1999/11/18 16:29:01 |
version 1.2, 2000/03/27 03:44:38 |
|
|
#include "sudo.h" |
#include "sudo.h" |
|
|
#ifndef lint |
#ifndef lint |
static const char rcsid[] = "$Sudo: getspwuid.c,v 1.55 1999/10/07 21:20:57 millert Exp $"; |
static const char rcsid[] = "$Sudo: getspwuid.c,v 1.56 2000/02/18 17:56:26 millert Exp $"; |
#endif /* lint */ |
#endif /* lint */ |
|
|
#ifndef STDC_HEADERS |
#ifndef STDC_HEADERS |
|
|
* Local functions not visible outside getspwuid.c |
* Local functions not visible outside getspwuid.c |
*/ |
*/ |
static char *sudo_getshell __P((struct passwd *)); |
static char *sudo_getshell __P((struct passwd *)); |
static char *sudo_getepw __P((struct passwd *)); |
|
|
|
|
|
/* |
/* |
|
|
* Return the encrypted password for the user described by pw. If shadow |
* Return the encrypted password for the user described by pw. If shadow |
* passwords are in use, look in the shadow file. |
* passwords are in use, look in the shadow file. |
*/ |
*/ |
static char * |
char * |
sudo_getepw(pw) |
sudo_getepw(pw) |
struct passwd *pw; |
struct passwd *pw; |
{ |
{ |