help!!! with conquer updating
Edward Barlow
smile at mhuxd.UUCP
Sat Feb 6 00:26:19 AEST 1988
I tried mailing this but it got bounced so...
In article <6567 at cisunx.UUCP> jgsst3 at cisunx.UUCP (Lucifer) writes:
>your uid is invalid for updating you must be logged in as god.
Are you sure that you defined "LOGIN" (in header.h)
to be the *login* you used to update the program? From the message you
show above, you defined LOGIN to be "god", not your login (jgsst3).
If you did, then it is possible that something is funky in unix land,
and I suggest removing the block that checks your uid and recompiling:
in main.c remove:
uid=geteuid();
if ( uid != (getpwnam(LOGIN))->pw_uid ){
printf("sorry -- your uid is invalid for updating\n");
printf("you need to be logged in as %s\n",LOGIN);
exit(-100); /* boom */
}
The Ed
ihnp4!homxc!smile
More information about the Comp.sources.bugs
mailing list