Re: Script to turn off unneeded services

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

 



Thanks.  That is a great start! However, I plan to leave xinetd on to
run the pop3 and spop services.  So I also need to be a little more
specific about just turning off a few of the xinetd entries.  I was
thinking I would a use a stream-editor to replace "disable = no" to
"disable = yes" for  /etc/xinet.d/servers, /etc/xinet.d/services and
/etc/xinet.d/sgi_fam.  Is there any problem with turning these services
off as far as xinetd is concerned?  The descriptions seem fairly
mundane:

services
# default: off
# description: An internal xinetd service, listing active services.
service services

servers
# default: off
# description: An internal xinetd service, listing active servers.
service servers

sgi_fam
# default: on
# description: FAM is a file monitoring daemon. It can \
# be used to get reports when files change.

----- Original Message -----
From: "Tobias Speckbacher" <tobias@xxxxxxxxx>
To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
Sent: Wednesday, April 07, 2004 3:16 PM
Subject: RE: Script to turn off unneeded services


> Just add the something along the lines of this in your post section:
>
> /sbin/chkconfig psacct on
> /sbin/chkconfig canna off
> /sbin/chkconfig FreeWnn off
> /sbin/chkconfig xfs off
> /sbin/chkconfig netfs off
> /sbin/chkconfig gpm off
> /sbin/chkconfig atd off
> /sbin/chkconfig arptables_jf off
> /sbin/chkconfig kudzu off
> /sbin/chkconfig apmd off
> /sbin/chkconfig isdn off
> /sbin/chkconfig iptables off
> /sbin/chkconfig ip6tables off
> /sbin/chkconfig pcmcia off
> /sbin/chkconfig autofs off
> /sbin/chkconfig portmap off
> /sbin/chkconfig xinetd off
> /sbin/chkconfig rhnsd off
> /sbin/chkconfig cups off
>
> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx
> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of j.travis
> Sent: Wednesday, April 07, 2004 2:11 PM
> To: redhat-list@xxxxxxxxxx
> Subject: Script to turn off unneeded services
>
> A am planning on writing a script at the end of a kickstart file that
> turns off any unneeded services immediately after a RedHat 9.0
> installation.  I think I have an idea of which services I would like
to
> turn off (for a simple webhosting server) and I have just started
> writing the script to disable them when it  occured to me that someone
> may have already done something like this. Anyone?
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux