Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2011 10:14:20 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Chris Telting <christopher-ml@telting.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Established method to enable suid scripts?
Message-ID:  <20110511141420.GD41080@gizmo.acns.msu.edu>
In-Reply-To: <4DC9DE2C.6070605@telting.org>
References:  <4DC9DE2C.6070605@telting.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

////jerry


> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110511141420.GD41080>