View Single Post
  #92   Report Post  
Posted to rec.crafts.metalworking
Donnie Barnes
 
Posts: n/a
Default Linux is Driving me $#@!!!! nutz!!!

On Thu, 05 Jan, Robert Nichols wrote:
As for disabling functions like NTP, see if you have the command-line
tool 'chkconfig'. If you do (distribution-dependent, again), then
permanently turning off NTP is most likely just a matter of running

chkconfig --level 12345 ntpd off

from the command line. That's a commonly available low-level tool. Any
given distribution almost certainly has a nice GUI tool for enabling and
disabling system services and daemons.


That's "common" to all RH derived distributions, anyway. Not sure how many
others have adopted it, but that stuff was written by RH employees.

Also note that you can run 'ntsysv' to just edit your current runlevel in a
text based UI that's decent. If you aren't the type to ever change your
runlevel regularly and just want to kill or enable stuff in the "normal"
runlevel, ntsysv is for you.

Note too that neither ntsysv or chkconfig will start or stop services, they
only change the flags that say whether those services will get started at
boot time! If ntpd is on and you want it off you have to do:

service ntpd stop

(There are other ways, but this is the easiest and best, but again is only
really standard to systems that use 'service', which includes RH and
derived distros, of which Fedora is one).

So, to turn ntpd off and to not have it come back after a reboot, you need
both the 'service' command above *and* the 'chkconfig' command (or run
ntsysv and uncheck the ntpd box).


--Donnie

--
Donnie Barnes http://www.donniebarnes.com 879. V.