diff options
Diffstat (limited to 'usr.bin/passwd/passwd.c')
-rw-r--r-- | usr.bin/passwd/passwd.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/usr.bin/passwd/passwd.c b/usr.bin/passwd/passwd.c index 8e9b67b48c5..042fa3a8d9b 100644 --- a/usr.bin/passwd/passwd.c +++ b/usr.bin/passwd/passwd.c @@ -39,7 +39,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)passwd.c 5.5 (Berkeley) 7/6/91";*/ -static char rcsid[] = "$Id: passwd.c,v 1.1 1995/10/18 08:45:54 deraadt Exp $"; +static char rcsid[] = "$Id: passwd.c,v 1.2 1996/01/16 07:22:15 deraadt Exp $"; #endif /* not lint */ #include <stdio.h> @@ -80,21 +80,6 @@ main(argc, argv) basename = strrchr(argv[0], '/'); if (basename == NULL) basename = argv[0]; - if (strcmp(basename, "yppasswd") == 0) { -#ifdef YP - if (!use_yp) { - fprintf(stderr, "yppasswd: YP not in use.\n"); - exit (1); - } - use_kerberos = 0; - use_yp = 1; - force_yp = 1; -#else - fprintf(stderr, "yppasswd: YP not compiled in\n"); - exit(1); -#endif - } - while ((ch = getopt(argc, argv, "lky")) != EOF) switch (ch) { |