[luau] more service deletion issues

Vince Hoang luau at ml.altern8.net
Wed Apr 9 15:48:00 PDT 2003


On Wed, Apr 09, 2003 at 01:59:08PM -0700, TB wrote:
> In the context of the "services turned on by default by redhat
> or whatever distro" what I meant was, how do I tell if redhat
> has set up some at jobs. Answer is, execute "atq" as root.

Well, running atq will only list what is scheduled to run. It
does not tell you who or what is adding the job to the at queue.
Most jobs are scheduled via cron anyway.

> Again, in this context the result of the above just tells me
> they're running, not whether I am actually using them. Is it
> ever a good idea to run both? Red Hat apparently set up some
> anacron jobs, but I can't find any cron jobs, should I turn
> cron off if I don't intend to use it myself?

Look in /var/spool/cron and /etc/cron* and see if there are
things running. I bet there are.

> Well, I mean how do I know if some background job is using
> sendmail for some legitimate purpose so I don't want to turn it
> off. Looking in /var/log did not clue me in. I'm just turning
> it off, let's see what happens.

mailq

If sendmail is not running, mail should be still sent normally.
If there is a misconfiguration, then you will see mail pile
up in the queue. Each message sent should be logged in
/var/log/maillog.

> When I execute "chkconfig sendmail off" and then "chkconfig
> --list|grep sendmail" I get:

chkconfig --del sendmail

> Do I want to turn it off on run level 2? What is level 2? I
> tried man chkconfig, man runlevel, and man rc.d & got no clue.
> Where should I be looking?

man inittab

If this is a personal system, feel free to experiment. I learned
a lot more breaking a system and fixing it again than I ever did
reading something online. And did you buy the book? :)

-Vince



More information about the LUAU mailing list