Article View: sco.opendesktop
Article #59Re: Setting set-uid on a script
From: Chris Gayler
Date: Fri, 10 Jun 1994 20:04
Date: Fri, 10 Jun 1994 20:04
14 lines
1461 bytes
1461 bytes
In article <Cr72uu.6Eo@world.std.com> rmedical@world.std.com (Ring Medical) writes: > > We are running SCO v3.2.4.2 and are trying to make a root >owned script have a setuid attribute. We have done a chmod u+s >to it has well as having it owned by root. All to no avail. I am sure >this is in the FAQ but we couldn't find the FAQ. Could anybody give >us a lead ? Setting the suid on a shell script doesn't have any effect, for security reasons. What you'll need to do, if possible, is rewrite it in C and compile it to an executable binary, then you can setuid. -- Chris
Technical Details
Message-ID:
<740@poietics.UUCP>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!uunet!poietics!cngReferences:
<Cr72uu.6Eo@world.std.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,ddbf95e66b947726 X-Google-Attributes: gid1020c6,public X-Google-Thread: 134180,ddbf95e66b947726 X-Google-Attributes: gid134180,public X-Google-Thread: 1122ea,ddbf95e66b947726 X-Google-Attributes: gid1122ea,public X-Google-Thread: ff1d1,ddbf95e66b947726 X-Google-Attributes: gidff1d1,public X-Google-ArrivalTime: 1994-06-10 13:12:36 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!uunet!poietics!cng From: cng@poietics.UUCP (Chris Gayler) Newsgroups: sco.opendesktop,biz.sco.general,biz.sco.opendesktop,comp.unix.admin Subject: Re: Setting set-uid on a script Keywords: setuid script Message-ID: <740@poietics.UUCP> Date: 10 Jun 94 20:04:21 GMT References: <Cr72uu.6Eo@world.std.com> Reply-To: cng@poietics.UUCP (Chris Gayler) Followup-To: sco.opendesktop Organization: POIETICS Lines: 14