From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,e0a9823ca423b93b X-Google-Attributes: gid1020c6,public X-Google-Thread: 1012a6,e0a9823ca423b93b X-Google-Attributes: gid1012a6,public X-Google-Thread: fee84,e0a9823ca423b93b X-Google-Attributes: gidfee84,public From: Phil Farrell Subject: Re: Cannot Set Owner & User-ID bit to Root via script Date: 1996/08/15 Message-ID: <3213B0BC.CF6@pangea.stanford.edu>#1/1 X-Deja-AN: 174433004 references: <321333D2.41C6@sms.lmco.com> to: "John G. Bury" content-type: text/plain; charset=us-ascii organization: Stanford University School of Earth Sciences mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.unix.shell,comp.unix.admin x-mailer: Mozilla 2.01 (Macintosh; I; 68K) Setuid shell scripts are inherently insecure and are a convenient way for hackers to get root access. Because of this, I do believe that there is some kernel parameter in Digital UNIX that prevents shell scripts from running setuid, and that this parameter is turned on by default. You should try to rewrite your script in C or some other compiled language which can more safely be made into a setuid program. -- Phil Farrell, Computer Systems Manager Stanford University School of Earth Sciences farrell@pangea.stanford.edu