took out multimax cruft
This commit is contained in:
4
sudo.c
4
sudo.c
@@ -85,11 +85,7 @@ char **Envp;
|
|||||||
char *host;
|
char *host;
|
||||||
char *user;
|
char *user;
|
||||||
char *cmnd;
|
char *cmnd;
|
||||||
#ifdef MULTIMAX
|
|
||||||
unsigned short uid;
|
|
||||||
#else
|
|
||||||
uid_t uid;
|
uid_t uid;
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
static void usage();
|
static void usage();
|
||||||
|
7
sudo.h
7
sudo.h
@@ -41,9 +41,6 @@
|
|||||||
|
|
||||||
SOLARIS - define if using Solaris 2.x
|
SOLARIS - define if using Solaris 2.x
|
||||||
|
|
||||||
MULTIMAX - define if installing on Encore Multimax
|
|
||||||
Also change the LIBS macro to "LIBS=-ll"
|
|
||||||
|
|
||||||
SEND_MAIL_WHEN_NOT_OK - if you want a message sent to ALERTMAIL
|
SEND_MAIL_WHEN_NOT_OK - if you want a message sent to ALERTMAIL
|
||||||
when the user is in the SUDOERS but
|
when the user is in the SUDOERS but
|
||||||
does not have permission to execute
|
does not have permission to execute
|
||||||
@@ -283,11 +280,7 @@ void be_full_user();
|
|||||||
* to be extern'ed here if this is main...
|
* to be extern'ed here if this is main...
|
||||||
*/
|
*/
|
||||||
#ifndef MAIN
|
#ifndef MAIN
|
||||||
#ifdef MULTIMAX
|
|
||||||
extern unsigned short uid;
|
|
||||||
#else
|
|
||||||
extern uid_t uid;
|
extern uid_t uid;
|
||||||
#endif
|
|
||||||
extern char *host;
|
extern char *host;
|
||||||
extern char *user;
|
extern char *user;
|
||||||
extern char *cmnd;
|
extern char *cmnd;
|
||||||
|
Reference in New Issue
Block a user