Text File

Aucbvax.2669 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Thu Aug 13 08:52:40 1981 Re: Setuid shell files >From THOMAS@UTAH-20 Thu Aug 13 08:45:13 1981 I recall somebody at the San Francisco conference talking about a hack somebody (Dennis Ritchie?) had proposed to get around the problem of having two shells coexisting on one system. The idea was that a shell file would specify the name of the interpreter on the first line: #! /bin/sh The kernel would recognize this and exec /bin/sh with the shell script as its first argument. Once you have the kernel doing this, it's easy to make the suid bit work. The reason it can't be done now, of course, is that there is no way for your shell to do a setuid() call. Anybody worked on this? =S -------

----------------------------------------------------------------- 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.