Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!harpo!utah-cs!utah-gr!thomas
From: thomas@utah-gr.UUCP (Spencer W. Thomas)
Newsgroups: net.unix-wizards
Subject: Re: magic numbers
Message-ID: <1094@utah-gr.UUCP>
Date: Fri, 9-Mar-84 09:56:10 EST
Article-I.D.: utah-gr.1094
Posted: Fri Mar  9 09:56:10 1984
Date-Received: Sat, 10-Mar-84 12:40:51 EST
References: <2639@alice.UUCP> opus.199
Lines: 8

The ONE thing that putting #! into the kernel gets you that having 
exec(2) do it (besides putting it in probably a more obvious place),
is to allow setuid shell scripts.  This gives shell scripts an equal
footing with all other programs - you don't have to explain to users
that if they write a C program and chmod u+s it works, but if they
write a shell script and chmod u+s it doesn't.

=Spencer