version 1.12, 1998/08/02 03:35:07 |
version 1.13, 1998/08/03 17:09:46 |
|
|
#include "chpass.h" |
#include "chpass.h" |
#include "pathnames.h" |
#include "pathnames.h" |
|
|
char *progname = "chpass"; |
|
char *tempname; |
char *tempname; |
uid_t uid; |
uid_t uid; |
|
|
|
extern char *__progname; |
|
|
#ifdef YP |
#ifdef YP |
int use_yp; |
int use_yp; |
int force_yp = 0; |
int force_yp = 0; |
|
|
{ |
{ |
|
|
#ifdef YP |
#ifdef YP |
(void)fprintf(stderr, "usage: chpass [-a list] [-s shell] [-l]%s [user]\n", use_yp?" [-y]":""); |
(void)fprintf(stderr, "usage: %s [-a list] [-s shell] [-l]%s [user]\n", |
|
__progname, use_yp?" [-y]":""); |
#else |
#else |
(void)fprintf(stderr, "usage: chpass [-a list] [-s shell] [user]\n"); |
(void)fprintf(stderr, "usage: %s [-a list] [-s shell] [user]\n", |
|
__progname); |
#endif |
#endif |
exit(1); |
exit(1); |
} |
} |