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

Re: 38



Giacomo A. Catenazzi, le Fri 27 Aug 2010 10:36:11 +0200, a écrit :
> On 27.08.2010 10:27, Samuel Thibault wrote:
> >Giacomo A. Catenazzi, le Fri 27 Aug 2010 10:21:06 +0200, a écrit :
> >>On 27.08.2010 10:09, posion bit wrote:
> >>>look one so simple in /etc/init.d/rc
> >>>
> >>>                         for i in /etc/rc$runlevel.d/K$level*
> >>>                         do
> >>>                                 # Check if the script is there.
> >>>                                 [ ! -f $i ]&&   continue
> >>>
> >>>The [ ! -f $i ] is not going to make what she was meaning (thinking
> >>>she know what she was doing)
> >>
> >>why no?
> >>
> >>IMHO I still think it is save and intentional.
> >
> >Not if I have a "/etc/rc2.d/K03my damn daemon"
> 
> Which is again the debian rules and the LSB rules about
> naming the init.d scripts.

Debian rules and LSB won't prevent users (even root) from doing that.

Samuel


Reply to: