Text File

Aucbvax.2677 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Thu Aug 13 16:17:51 1981

>From ARPAVAX.wnj@Berkeley Thu Aug 13 16:07:10 1981 To: unix-wizards at SRI-UNIX Subject: Re: Setuid shell files In-reply-to: Your message of 12 Aug 1981 2356-PDT (Wednesday).

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

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.