update.c (26479) | update.c (30378) |
---|---|
1/* 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 3 * unrestricted use provided that this legend is included on all tape 4 * media and as a part of the software program in whole or part. Users 5 * may copy or modify Sun RPC without charge, but are not authorized 6 * to license or distribute it to anyone else except as part of a product or 7 * program developed by the user or with the express written consent of 8 * Sun Microsystems, Inc. --- 13 unchanged lines hidden (view full) --- 22 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 23 * or profits or other special, indirect and consequential damages, even if 24 * Sun has been advised of the possibility of such damages. 25 * 26 * Sun Microsystems, Inc. 27 * 2550 Garcia Avenue 28 * Mountain View, California 94043 29 */ | 1/* 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 3 * unrestricted use provided that this legend is included on all tape 4 * media and as a part of the software program in whole or part. Users 5 * may copy or modify Sun RPC without charge, but are not authorized 6 * to license or distribute it to anyone else except as part of a product or 7 * program developed by the user or with the express written consent of 8 * Sun Microsystems, Inc. --- 13 unchanged lines hidden (view full) --- 22 * In no event will Sun Microsystems, Inc. be liable for any lost revenue 23 * or profits or other special, indirect and consequential damages, even if 24 * Sun has been advised of the possibility of such damages. 25 * 26 * Sun Microsystems, Inc. 27 * 2550 Garcia Avenue 28 * Mountain View, California 94043 29 */ |
30 |
|
30#ifndef lint | 31#ifndef lint |
32#if 0 |
|
31static char sccsid[] = "@(#)update.c 1.2 91/03/11 Copyr 1986 Sun Micro"; 32#endif | 33static char sccsid[] = "@(#)update.c 1.2 91/03/11 Copyr 1986 Sun Micro"; 34#endif |
35static const char rcsid[] = 36 "$Id$"; 37#endif /* not lint */ |
|
33 34/* 35 * Copyright (C) 1986, 1989, Sun Microsystems, Inc. 36 */ 37 38/* 39 * Administrative tool to add a new user to the publickey database 40 */ --- 18 unchanged lines hidden (view full) --- 59#define MAXMAPNAMELEN 256 60#else 61#define YPOP_CHANGE 1 /* change, do not add */ 62#define YPOP_INSERT 2 /* add, do not change */ 63#define YPOP_DELETE 3 /* delete this entry */ 64#define YPOP_STORE 4 /* add, or change */ 65#endif 66 | 38 39/* 40 * Copyright (C) 1986, 1989, Sun Microsystems, Inc. 41 */ 42 43/* 44 * Administrative tool to add a new user to the publickey database 45 */ --- 18 unchanged lines hidden (view full) --- 64#define MAXMAPNAMELEN 256 65#else 66#define YPOP_CHANGE 1 /* change, do not add */ 67#define YPOP_INSERT 2 /* add, do not change */ 68#define YPOP_DELETE 3 /* delete this entry */ 69#define YPOP_STORE 4 /* add, or change */ 70#endif 71 |
67#ifdef notdef 68extern char *getpass(); 69extern char *malloc(); 70#endif 71 | |
72#ifdef YP | 72#ifdef YP |
73#ifdef notdef 74static char *basename(); 75#endif | |
76static char SHELL[] = "/bin/sh"; 77static char YPDBPATH[]="/var/yp"; /* This is defined but not used! */ 78static char PKMAP[] = "publickey.byname"; 79static char UPDATEFILE[] = "updaters"; 80static char PKFILE[] = "/etc/publickey"; 81#endif /* YP */ 82 83#ifdef YP --- 283 unchanged lines hidden --- | 73static char SHELL[] = "/bin/sh"; 74static char YPDBPATH[]="/var/yp"; /* This is defined but not used! */ 75static char PKMAP[] = "publickey.byname"; 76static char UPDATEFILE[] = "updaters"; 77static char PKFILE[] = "/etc/publickey"; 78#endif /* YP */ 79 80#ifdef YP --- 283 unchanged lines hidden --- |