From owner-freebsd-questions Thu Dec 7 02:46:41 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA02139 for questions-outgoing; Thu, 7 Dec 1995 02:46:41 -0800 (PST) Received: from Relay1.Austria.EU.net (relay1.Austria.EU.net [192.92.138.47]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA02134 for ; Thu, 7 Dec 1995 02:46:29 -0800 (PST) From: marino.ladavac@aut.alcatel.at Received: from atusks01.aut.alcatel.at by Relay1.Austria.EU.net with SMTP id AA03639 (5.67b/IDA-1.5 for ); Thu, 7 Dec 1995 11:45:54 +0100 Received: from atuhc16 by atusks01.aut.alcatel.at (4.1/SMI-4.1/AAA-1.29/main) id AA19958; Thu, 7 Dec 95 11:42:21 +0100 Message-Id: <9512071042.AA19958@atuhc16.atusks01.aut.alcatel.at> Received: by atuhc16 (1.38.193.4/16.2) id AA10821; Thu, 7 Dec 1995 11:45:27 +0100 Subject: Re: SUID bits To: shovey@buffnet.net (Stephen Hovey) Date: Thu, 7 Dec 95 11:45:27 MET Cc: questions@freebsd.org In-Reply-To: ; from "Stephen Hovey" at Dec 6, 95 3:03 pm Mailer: Elm [revision: 70.85] Sender: owner-questions@freebsd.org Precedence: bulk > I cannot get SUID to work on files in 2.1R. In other unixes I would > chmod 4755 filename. > I do here- I see the s - but when invoked it gives permission errors as > though there were no suid bit set. > Is there some other step that has to be done? Setuid scripts are not allowed, being rather obvious security holes. You will need to make a C (or suidperl) wrapper around them. This wrapper can then be suid whoever. /Alby