D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Programs which start on login

 

Neil Winchurst wrote:
> On Sat, 12 May 2007 17:22:56 +0100
> Simon Waters <simon@xxxxxxxxxxxxxx> wrote:
> 
>> Neil Winchurst wrote:
>>> The programs I particularly do not want running at every login are
>>> apache and mysql. Can anyone remind me please, how to stop a program
>>> from starting up at login?
>> Usually Apache and MySQL start at boot, not at login.
>>
>> Typically you remove the links from the current run level directory...
>>
>> Find runlevel with "runlevel" command.
>>
>> # runlevel
>> N 3
>>
>> ~# ls /etc/rc3.d
>> K11anacron            S20bittorrent         S20ssh           S89anacron
>> README                S20cupsys             S20stunnel4      S89atd
>> S10sysklogd           S20dbus               S20sysstat       S89cron
>> ...
> Perhaps it would be better for me to simply stop the programs in a
> terminal screen.

Yuck. That's a Windows mentality.
I would have thought that your system uses chkconfig.
'man chkconfig' should give you fairly simple usage instructions.
'chkconfig httpd off' should do it I think.

I could be wrong- the only SysV style system I ever used was Mandrake 
(many years ago now).

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html