-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 14 May 2002 01:13 pm, Javier Gostling wrote: > "Henning, Brian" wrote: > > I have two separate questions. How do you know where to turn on/off > > services like ftp and ipchains? I know there is stuff in /etc/rc.d/ i > > just don't know how to tell what is what in there. > > Some services can be started/stopped with "service <srv_name> > <start|stop>". Others, you have to edit the control files in > /etc/xinetd.d and reload xinetd with "service xinetc reload".
To start or stop a service, the 'service' command will do. To control services started and stopped in each runlevel: (To control what is started when you boot, for example) As 'root' you can use chkconfig usage: chkconfig --list [name] chkconfig --add <name> chkconfig --del <name> chkconfig [--level <levels>] <name> <on|off|reset>) For example: chkconfig --list will output a list of all available services, and current runlevel configuration for each. chkconfig also controls xinetd services, and there is no need to reload or restart xinetd after making modifications via chkconfig. 'man chkconfig' is your friend. :) - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjzhu5oACgkQn/07WoAb/SsMDwCcDBQDl91V9+tMkOtnAMz4H65T axMAoIkTLnrS0/azezhQUnYpNOTuTdlv =DBJf -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list