Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!husc6!panda!genrad!lsrhs!led From: led@lsrhs.UUCP (Jay Jungalwala) Newsgroups: comp.unix.wizards Subject: Root shell in shell scripts, HELP? Message-ID: <833@lsrhs.UUCP> Date: 15 Jul 88 05:28:02 GMT References: <16492@brl-adm.ARPA> Reply-To: led@lsrhs.UUCP (Jay Jungalwala) Organization: Lincoln Sudbury Regional High School. Sudbury Ma. Lines: 21 Well see what I am looking for is a program (useing shell schripts) to make a root shell useing csh but haveing it set uid to root, but it can be run by non-root people. See I need this, because I am writeing a exam (computer) and I need a root shell in the exam. And this will be executible by everyone, but csh for some reason likes (I think) to do a getlogin(), then a getuid() I on the getlogin(). So is there a way around this, or it can also be a program (C) that will do it. Well if you need more info on what I am talking about here is my mailing address: led%lsrhs@mit-caf.uucp [Last I checked this worked] And I will give you all the information that I can. THANKS IN ADVANCE: -CHOW FOR NOW -JJ