From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,3cfb20fa0d9415a8,start X-Google-Attributes: gid10952f,public X-Google-Thread: 1012a6,3cfb20fa0d9415a8,start X-Google-Attributes: gid1012a6,public X-Google-Thread: fee84,3cfb20fa0d9415a8,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1065ea,3cfb20fa0d9415a8,start X-Google-Attributes: gid1065ea,public X-Google-Thread: 1020c6,3cfb20fa0d9415a8,start X-Google-Attributes: gid1020c6,public From: Ori Tzoran Subject: setuid scripts on DUX 4.0D: (2)why doesnt work? Date: 1999/02/06 Message-ID: <36BB76D4.CFE04F8A@netvision.net.il>#1/1 X-Deja-AN: 441886411 Content-Transfer-Encoding: 7bit X-Accept-Language: en,fr-FR X-Priority: 2 (High) Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@netvision.net.il X-Trace: news.netvision.net.il 918255322 25204 62.0.184.59 (5 Feb 1999 22:55:22 GMT) Organization: NetVision Israel Mime-Version: 1.0 NNTP-Posting-Date: 5 Feb 1999 22:55:22 GMT Newsgroups: comp.unix.osf.osf1,comp.unix.admin,comp.unix.shell,comp.security.unix,alt.unix.wizards hello, the following example doesn't work: #!/sbin/sh # test suid id -u ps -f -p $$ exit 0 ls -l test.suid -r-sr-x--x ... root system test.suid attempt to run as user "ori" (uid = 123) gives: 123 USER PID PPID ... COMMAND ori 1234 988 .... sh test.suid tried man on sh(1b), sh(1p), setuid(2) etc: nothing metions DUX behaves differently than other unix variants. what's the problem?