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

Re: Scripts in /etc/init.d Question and Comment.



On Mon, Apr 08, 2002 at 03:36:17AM -0300, Henrique de Moraes Holschuh wrote:
> On Sun, 07 Apr 2002, JPS wrote:
> > `/etc/init.d'. Every once in a while I attempt to execute one of these
> > scripts while logged in as a non-root user. For example, I might type
> ...
> 
> The problem is, the initscript should actually check if it has the rights it
> needs, if it is to do what you want...  this is not always easy, or
> possible.  Do recall that we will have SE linux in Debian somewhat soon, and
> checking just for rootness is not enough there.

Sometimes it's too much. Some init scripts have targets, such as
checking the status of the daemon, that are perfectly executable by
ordinary users.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: