Article View: net.bugs.usg
Article #5Re: Sv.2 suid bits (why a RESTRICTED shell if r in name!!)
From: Clive Charlwood
Date: Tue, 10 Dec 1985 20:48
Date: Tue, 10 Dec 1985 20:48
17 lines
1216 bytes
1216 bytes
> >
> >> On SV.2 (3b2, pc7300 (Safari)) suid bits do not work on shell scripts.
>
> I have used the setuid bit on a masscomp machine. Two important
> points though.
> i) You need to include the line '#! /bin/sh' so that exec(2) can
> handle it.
>
> ii) Your shell script runs as a restricted shell. (Anybody know a
> way around this folks)
(IF THE *PROGRAM* NAME contains an 'r' in SYSV.2)
Does anyone know why the stupid test for 'r' in the progname.
I thought I'd left that sort of junk behind with fortran!
Clive Charlwood.
Technical Details
Message-ID:
<699@abic.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!cwruecmp!abic!crcReferences:
<123@rexago1.UUCP> <6600001@ndm20> <697@abic.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site abic.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!cwruecmp!abic!crc From: crc@abic.UUCP (Clive Charlwood) Newsgroups: net.bugs.usg Subject: Re: Sv.2 suid bits (why a RESTRICTED shell if r in name!!) Message-ID: <699@abic.UUCP> Date: Tue, 10-Dec-85 15:48:52 EST Article-I.D.: abic.699 Posted: Tue Dec 10 15:48:52 1985 Date-Received: Thu, 12-Dec-85 04:38:06 EST References: <123@rexago1.UUCP> <6600001@ndm20> <697@abic.UUCP> Organization: Allen-Bradley Co., Highland Heights, OH 44143 Lines: 17