From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,dcd0bbefc37e9cee X-Google-Attributes: gidfa528,public From: Nikola Milutinovic Subject: Re: setuid on dec unix v4 Date: 2000/11/10 Message-ID: <3A0C0784.4DEAA5A7@ev.co.yu>#1/1 X-Deja-AN: 692036998 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: EPS Elektrovojvodina Mime-Version: 1.0 Newsgroups: comp.unix.tru64 zed wrote: > > Hi all, > > bit of a problem > > setting setuid on a program or script and running the program, will > not change the users effective ID. Of course not. It will only ALLOW the program in question to change it's EUID to the SUID via system call seteuid(). Of course, a shell script cannot call that function. Now, I have heard that CSh, if SetUID to root itself, will change UIDs of scripts, if they have SetUID on them. Not sure about this, though. Nix.