Re: How to use 'chkconfig' ?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Josef Lowder
Date:  
To: plug-discuss
Subject: Re: How to use 'chkconfig' ?

My original question was, "How do I run 'chkconfig' (or something
else) to obtain a display of usage information on my system?"

The 'man' page states: "When chkconfig is run without any options,
it displays usage information." But that did not work as advertised.

Bill Jonas suggested using: " chkconfig --list " and that did work to
generate the list shown below, whereas 'chkconfig' by itself with
no options did not work as described in the man page.

But now that I have this long list, I don't know what to do with it.
It was my understanding from an earlier post that the reason one
should run 'chkconfig' was to determine what "services" might be
running that might pose a security risk. But this list doesn't tell
me anything that makes any sense too me. So, I don't know what
(if anything) to do with this information.

Jeremy Reed commented that 'chkconfig' does not display system
usage and he asked: "What do you specifically want?"

Well, I want two things: I want to know what, if anything, I need to
do to keep my system secure -- specifically are there any "services"
that need to be turned off, and if so, how to do that.

Second, I would like to be able to "check the configuration" of my
system (as the name 'chkconfig' suggests), so that I might know
what is the overall configuration of my system. When one starts
up, Linux lists a lot of details that seem to describe everything
pertaining to the configuration of one's system ... however all this
information scrolls by too fast t be able to read it all and there seems
to be no way to capture all those details to a file ... or is there?

Joe

-----------------------------------
The results of:   /sbin/chkconfig --list  : 
alsa            0:off   1:off   2:on    3:on    4:on    5:on    6:off
kheader         0:off   1:off   2:on    3:on    4:off   5:on    6:off
kudzu           0:off   1:off   2:off   3:on    4:on    5:on    6:off
usb             0:off   1:off   2:on    3:on    4:on    5:on    6:off
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
random          0:off   1:off   2:on    3:on    4:on    5:on    6:off
rawdevices      0:off   1:off   2:off   3:on    4:on    5:on    6:off
sound           0:off   1:off   2:on    3:on    4:on    5:on    6:off
linuxconf       0:off   1:off   2:on    3:on    4:on    5:on    6:off
keytable        0:off   1:off   2:on    3:on    4:on    5:on    6:off
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
xfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
portmap         0:off   1:off   2:off   3:off   4:off   5:off   6:off
xinetd          0:off   1:off   2:off   3:on    4:on    5:on    6:off
medusa-init     0:off   1:off   2:off   3:on    4:on    5:on    6:off
harddrake       0:off   1:off   2:off   3:on    4:on    5:on    6:off
apmd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
internet        0:off   1:off   2:on    3:on    4:on    5:on    6:off
anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off
atd             0:off   1:off   2:off   3:on    4:on    5:on    6:off
gpm             0:off   1:off   2:on    3:on    4:on    5:on    6:off
numlock         0:off   1:off   2:off   3:on    4:on    5:on    6:off
oki4daemon      0:off   1:off   2:off   3:off   4:off   5:off   6:off
cups            0:off   1:off   2:on    3:on    4:on    5:on    6:off
httpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
proftpd         0:off   1:off   2:off   3:off   4:off   5:off   6:off
Win4Lin         0:off   1:off   2:on    3:on    4:on    5:on    6:off
mysql           0:off   1:off   2:off   3:off   4:off   5:off   6:off
xinetd based services:
        chargen-udp:    off
        chargen:        off
        daytime-udp:    off
        daytime:        off
        echo-udp:       off
        echo:   off
        time-udp:       off
        time:   off
        rsync:  off
        fam:    on
        cvs:    off
        linuxconf-web:  off
        cups-lpd:       off
        proftpd-xinetd: off



-----------------------
Originally, I wrote:
> The man page for 'chkconfig' states the following:
> "When chkconfig is run without any options, it displays
> usage information."
> But when I type 'chkconfig' on my Mandrake 8.1 system,
> nothing happens ... no response at all.  'slocate' tells me that
> 'chkconfig' does exist on my system in /sbin.
> So, I tried: /sbin/chkconfig and got the following response:
> chkconfig version 1.2.23 - Copyright (C) 1997-2000 Red Hat, Inc.
> This may be freely redistributed under the terms of the GNU Public License.
> usage: chkconfig --list [name]
>  chkconfig --add <name>
>  chkconfig --del <name>
>  chkconfig [--level <levels>] <name> <on|off|reset>)
>
> How do I run 'chkconfig' (or something else) to obtain
> a display of usage information on my system?


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss