From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,760278070f1ed493 X-Google-Attributes: gidfee84,public From: Michael Subject: Re: suid scripts problems....? Date: 1997/04/05 Message-ID: <3345C301.71ED@cs.washington.edu>#1/1 X-Deja-AN: 230824120 Sender: nntp@news.boeing.com (Boeing NNTP News Access) X-Nntp-Posting-Host: drtn005.ca.boeing.com References: <5i3gej$54c@shoga.wwa.com> To: Frank Jendraszak Organization: CS-Undergrads-R-Us Newsgroups: comp.unix.osf.osf1 Frank Jendraszak wrote: > I have a SUID script on Solaris that gives users the permission > to kill processes that they do not own. > > I would like to move this script to my DEC/OSF1 machines, but it will > not work in the same fashion. When a users tries to kill a process > which they do not own, it returns permission denied. > > Is there something more secure on DEC that does not allow users to > kill others process, even though the script is SUID root? Try adding the following line to your Solaris and OSF/1 scripts: /usr/bin/id Try running on both platforms. All should become clear. Michael