Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!adm!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.unix.internals Subject: Re: how to setuid for shell scripts? Message-ID: <6798:Nov2022:46:3690@kramden.acf.nyu.edu> Date: 20 Nov 90 22:46:36 GMT References: <633@vtserf.cc.vt.edu> <4432@auspex.auspex.com> <8292@star.cs.vu.nl> Organization: IR Lines: 9 In article <8292@star.cs.vu.nl> maart@cs.vu.nl (Maarten Litmaath) writes: > 1) `ps' will show something like this - > PID TT STAT TIME COMMAND > 5393 p1 R 0:00 sh - /dev/fd/3 I'd expect the first argument to be mangled into the program name. This would also solve your second problem. ---Dan