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

Re: Linux Security -- More instructions -- /etc/rc.d/init.d --



Benjamin Sher <sher07 bellsouth net> writes:
> Any of these in your /etc/rc.d/init.d start automagically when
> you boot

That is incorrect.  They are only started automatically through the
links in /etc/rc.d/r[0-9].d/.  If, for instance, you are in runlevel 5
(the default runlevel with X), it'll run the scripts in
/etc/rc.d/rc5.d/ .  

You can have as many scripts in /etc/rc.d/init.d as you want without
causing security problems, and to disable them you only need to remove
the link in the rc5.d directory (or rcX.d, where X is your runlevel).

-- 
Alan Shutko <ats acm org> - Looking for a job in Long Island!
Check http://rescomp.wustl.edu/~ats/ for a resume.
Ban the bomb.  Save the world for conventional warfare.



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