Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830713); site vu44.UUCP Path: utzoo!linus!philabs!mcvax!vu44!jack From: jack@vu44.UUCP (Jack Jansen) Newsgroups: net.unix-wizards Subject: Re: Protecting games Message-ID: <267@vu44.UUCP> Date: Fri, 30-Sep-83 16:31:32 EDT Article-I.D.: vu44.267 Posted: Fri Sep 30 16:31:32 1983 Date-Received: Fri, 7-Oct-83 02:45:27 EDT References: <11812@sri-arpa.UUCP> <1105@utcsstat.UUCP> Organization: VU Informatica, Amsterdam Lines: 11 If you don't have sources of the games, you can always try to set the environment variable SHELL to /usr/games/SHELL, and let that be a program that does main(argc,argv) char**argv; { setuid(getuid()); setgid(getgid()); execv("/bin/sh",argc,argv); } This way, users can get a shell, and you are protected. (if the game understands about SHELL, of course) Jack Jansen, {philabs|decvax}!mcvax!vu44!jack