jgsst3@cisunx.UUCP (Lucifer) (01/31/88)
compiling conquer was a true joy, nothing more than minor mods were required to get it up and running. but when the time came around to update the game i get and error that says .... your uid is invalid for updating you must be logged in as god. now... i have been unable to find anywhere in the source where i am asked to input my uid so what do i do???? as far as i can tell i have set all the pathnames correctly in the run file and i have modified header.h to make me god so what am i doing wrong????? has anyone out there managed to make the update function work??? help!!!!!!!!!!!!!!!!!!!!!!!!!! thank you john schmid -- Help, I'm being controlled by a sinister alien syndicate and being forced to work with people I don't like! UUCP: unix.cis.pittsburgh.edu!jgsst3 jgsst3@cisunx.UUCP jgsst3@pittvms.bitnet
smile@mhuxd.UUCP (Edward Barlow) (02/05/88)
I tried mailing this but it got bounced so... In article <6567@cisunx.UUCP> jgsst3@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