Path: utzoo!utgpu!cunews!micor!latour!ecicrl!clewis From: clewis@ferret.ocunix.on.ca (Chris Lewis) Newsgroups: news.software.b Subject: Re: Help on Relaynews Message-ID: <2072@ecicrl.ocunix.on.ca> Date: 26 May 91 06:26:58 GMT References: <1991May17.003758.17351@bpdsun1.uucp> <1991May18.212857.21302@zoo.toronto.edu> <8028@auspex.auspex.com> Organization: Elegant Communications Inc., Ottawa, Canada Lines: 19 In article <8028@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: >>You said "yes" when build asked whether you could do setuid(geteuid()). >>Wrong. (On SunOS, yet... sigh.) >Really? I tried running a program that read: > [program omitted] >so it did, indeed, set the real UID to match the effective UID, which is >exactly what "setuid(geteuid())" is supposed to do. I installed cnews on a Sun 4/470, and consulted the setuid() manual on this very question. There is apparently a configuration parameter that enables/ disables this. It was called something like _POSIX_SUID. -- Chris Lewis, Phone: (613) 832-0541, Domain: clewis@ferret.ocunix.on.ca UUCP: ...!cunews!latour!ecicrl!clewis; Ferret Mailing List: ferret-request@eci386; Psroff (not Adobe Transcript) enquiries: psroff-request@eci386 or Canada 416-832-0541. Psroff 3.0 in c.s.u soon!