Article View: sco.opendesktop
Article #60Re: Setting set-uid on a script
From: Gary L. Burnore
Date: Fri, 10 Jun 1994 22:26
Date: Fri, 10 Jun 1994 22:26
19 lines
1918 bytes
1918 bytes
Ring Medical (rmedical@world.std.com) wrote:
: Kind People,
: 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 ?
I may be wrong but I think you can't do an suid on a shell script and
have it work. v3.2.4.2 DOES have a command called asroot which as the
name implies, runs something "as root". Do man asroot to see how it
works. Basically root sets up what can/cant be done.
--
gburnore@netcom.com
-------------------------------------------------------------------------------
How you look depends on where you go.
-------------------------------------------------------------------------------
Technical Details
Message-ID:
<gburnoreCr7Czw.Jnz@netcom.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!csulb.edu!csus.edu!netcom.com!gburnoreReferences:
<Cr72uu.6Eo@world.std.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1122ea,ddbf95e66b947726 X-Google-Attributes: gid1122ea,public X-Google-Thread: 1020c6,ddbf95e66b947726 X-Google-Attributes: gid1020c6,public X-Google-Thread: 134180,ddbf95e66b947726 X-Google-Attributes: gid134180,public X-Google-Thread: ff1d1,ddbf95e66b947726 X-Google-Attributes: gidff1d1,public X-Google-ArrivalTime: 1994-06-10 15:53:06 PST Newsgroups: sco.opendesktop,biz.sco.general,biz.sco.opendesktop,comp.unix.admin Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!csulb.edu!csus.edu!netcom.com!gburnore From: gburnore@netcom.com (Gary L. Burnore) Subject: Re: Setting set-uid on a script Message-ID: <gburnoreCr7Czw.Jnz@netcom.com> Followup-To: sco.opendesktop,biz.sco.general,biz.sco.opendesktop,comp.unix.admin Organization: NETCOM On-line Communication Services (408 261-4700 guest) X-Newsreader: TIN [version 1.2 PL1] References: <Cr72uu.6Eo@world.std.com> Date: Fri, 10 Jun 1994 22:26:20 GMT Lines: 18