Article View: NET.unix-wizards
Article #3Re: Setuid shell files
From: ucbvaxarpavaxwnj
Date: Thu, 13 Aug 1981 14:19
Date: Thu, 13 Aug 1981 14:19
12 lines
618 bytes
618 bytes
The current 4.1bsd system for VAXes includes a mechanism initially implemented at Bell Labs (after version 7) which allows a file to be executable and start with a line: #! interpreter where interpreter might be /bin/sh, e.g. #! /bin/sh The file is then a ``true executable'', i.e. an exec() succeeds on it in the obvious way, and the system interprets setuid and setgid bits on the file. Bill Joy
Technical Details
Message-ID:
<anews.Aucbarpa.120>Path:
arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!arpavax:wnjShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!arpavax:wnj From: ucbvax!arpavax:wnj Newsgroups: NET.unix-wizards Subject: Re: Setuid shell files Date: Thu, 13 Aug 1981 14:19:20 +0000 Message-ID: <anews.Aucbarpa.120>