Script to turn off unneeded services

Tobias Speckbacher tobias at quova.com
Thu Apr 8 03:52:51 UTC 2004


Hrmmm, just checked on an older system, it seems redhat decided to
expand the functionality of chkconfig in their ES products to include
runlevel 2.

So for what Reuben stated earlier seems to be true for RH8, possibly 9
and changed on ES and AS probably in fedora too.

-Tobias

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Tobias Speckbacher
Sent: Wednesday, April 07, 2004 7:50 PM
To: techlist at voyager.phys.utk.edu; General Red Hat Linux discussion list
Subject: RE: Script to turn off unneeded services

Actually on my ES3 system the man page also includes runlevel 2 in the
default for on/off:

"By  default,  the on and off options affect only runlevels 2, 3, 4, and
5, while reset affects all of the runlevels.  The --level option may be
used to specify which runlevels are affected."

That leaves ummm 0 (halt), 1 (single user) and 6 (reboot).

Cheers,

Tobias

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Reuben D. Budiardja
Sent: Wednesday, April 07, 2004 7:30 PM
To: General Red Hat Linux discussion list
Subject: Re: Script to turn off unneeded services

On Wednesday 07 April 2004 11:11 pm, Anthony E. Greene wrote:
> On 07-Apr-2004/15:16 -0700, Tobias Speckbacher <tobias at quova.com>
wrote:
> >Just add the something along the lines of this in your post section:
> >
> >/sbin/chkconfig psacct on
>
> [snip]
>
> Be sure to specify levels. By default only the current runlevel is
> affected by chkconfig.

>From man chkconfig:

"By default, the on and off options affect only runlevels 3, 4, and 5,
while  
reset affects all of the runlevels.  The --level option may be used to 
specify which run- levels are affected."

RDB
-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -


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


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





More information about the redhat-list mailing list