Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!rutgers!seismo!rochester!pt.cs.cmu.edu!sei.cmu.edu!pdb
From: pdb@sei.cmu.edu.UUCP
Newsgroups: comp.unix.questions
Subject: Re: CHMOD 4755 doesn't work
Message-ID: <476@aw.sei.cmu.edu.sei.cmu.edu>
Date: Wed, 10-Dec-86 13:35:17 EST
Article-I.D.: aw.476
Posted: Wed Dec 10 13:35:17 1986
Date-Received: Sun, 14-Dec-86 06:39:44 EST
References: <1792@ncoast.UUCP>
Sender: netnews@sei.cmu.edu
Reply-To: pdb@sei.cmu.edu (Pat Barron)
Distribution: world
Organization: Carnegie-Mellon University, SEI, Pgh, Pa
Lines: 9
Keywords: -rwsrwxrwx or -rwsr-xr-w?
Summary: You don't want to set-uid a shell script


I've never had an problem using set-uid programs; chmod 4755 should do
it.  Of course, this only works for *programs* (i.e., something that has
come out of a compiler).  You can't set-uid a shell script (Well, actually,
most versions of 4.2 and 4.3 do let you do this, but you really *don't* want
to, as it causes a massive security hole; see the recent discussion on
comp.unix.wizards).

--Pat.