timo on Sat, 2 Jun 2001 16:10:06 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] permissions and setuid


gabriel rosenkoetter wrote:
> 
> On Sat, Jun 02, 2001 at 03:01:28PM -0400, timo wrote:
> > I want this script to be the only means of getting the box online.
> 
> You don't. Any sane Unix-like OS ignores the setuid bit on scripts,
> and it should. If you're actually running a kernel that allows this,
> stop.

Hmmmmmmmm...
Well, thanks for telling me now (as in before I spend all weekend
on this).

> It is woefully simple to write a C wrapper program to do this, which
> is only valuable if you do it correctly, and that's the best thing
> to do.

albeit woefully simple it still sounds well beyond my means.

I'm just a simple NT administrator trying to change my ways.

> I'm about to run out the door, otherwise I'd send some sample code.
> Maybe later.

Would be appreciated.  I like to see it.

timo


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug