RE: Script to turn off unneeded services

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

 



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@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Tobias Speckbacher
Sent: Wednesday, April 07, 2004 7:50 PM
To: techlist@xxxxxxxxxxxxxxxxxxxx; 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@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxx>
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@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