=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/passwd/passwd.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/passwd/passwd.c 1995/10/18 08:45:54 1.1 --- src/usr.bin/passwd/passwd.c 1996/01/16 07:22:15 1.2 *************** *** 39,45 **** #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 $"; #endif /* not lint */ #include --- 39,45 ---- #ifndef lint /*static char sccsid[] = "from: @(#)passwd.c 5.5 (Berkeley) 7/6/91";*/ ! static char rcsid[] = "$Id: passwd.c,v 1.2 1996/01/16 07:22:15 deraadt Exp $"; #endif /* not lint */ #include *************** *** 80,100 **** 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) { --- 80,85 ----