Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 95 11:45:27 MET
From:      marino.ladavac@aut.alcatel.at
To:        shovey@buffnet.net (Stephen Hovey)
Cc:        questions@freebsd.org
Subject:   Re: SUID bits
Message-ID:  <9512071042.AA19958@atuhc16.atusks01.aut.alcatel.at>
In-Reply-To: <Pine.BSD.3.91.951206150237.728A-100000@buffnet9.buffnet.net>; from "Stephen Hovey" at Dec 6, 95 3:03 pm

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

> 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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?9512071042.AA19958>