Chkconfig

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 5: Line 5:
 
<pre>
 
<pre>
 
$ chkconfig --level 2345 smb on
 
$ chkconfig --level 2345 smb on
 +
</pre>
 +
 +
To disable the samba service:
 +
<pre>
 +
$ chkconfig smb off
 
</pre>
 
</pre>
  

Revision as of 08:34, 31 March 2010

chkconfig is used to configure the system services. Use it in the following ways:

To make samba run at boot up:

$ chkconfig --level 2345 smb on

To disable the samba service:

$ chkconfig smb off

To show the list of services:

$ chkconfig --list
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox