Established method to enable suid scripts?

Jerry McAllister jerrymc at
Wed May 11 14:17:32 UTC 2011

On Tue, May 10, 2011 at 05:54:04PM -0700, Chris Telting wrote:

> I've googled for over an hour.
> I'm not looking to get into a discussion on security or previous bugs 
> that are currently fixed.  Suid in and of itself is a security issue.  
> But if you are using suid it it should work; I don't want to use a 
> kludge and I don't want to use sudo.  I'm hoping it's a setting that is 
> just disabled by default.

My understanding is that in general the system does not allow SUID
on scripts.   The way I have gotten around that (a long time ago)
was to create a small binary that exec's the script and making
the binary SUID.

Security cautions apply.


> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list