Chkconfig

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with 'Samba configuration To make samba run at boot up, in the terminal type: chkconfig --level 2345 smb on To show the list of services type: chkconfig --list')
 
m
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
Samba configuration
+
<code>chkconfig</code> is used to configure the system services.
  
 +
{{note|this will not start or stop the service... you must use the service's standard method if you wish to start/stop it now}}
  
To make samba run at boot up, in the terminal type:
+
Use it in the following ways:
  
chkconfig --level 2345 smb on
+
To make samba run at boot up:
 +
<pre>
 +
$ chkconfig --level 2345 smb on
 +
</pre>
 +
Omitting the <code>--level</code> parameter will apply the changes to all levels.
  
  
To show the list of services type:
+
To disable the samba service:
 +
<pre>
 +
$ chkconfig smb off
 +
</pre>
  
chkconfig --list
+
 
 +
To show the list of services:
 +
<pre>
 +
$ chkconfig --list
 +
</pre>

Latest revision as of 08:37, 31 March 2010

chkconfig is used to configure the system services.

Note: this will not start or stop the service... you must use the service's standard method if you wish to start/stop it now

Use it in the following ways:

To make samba run at boot up:

$ chkconfig --level 2345 smb on

Omitting the --level parameter will apply the changes to all levels.


To disable the samba service:

$ chkconfig smb off


To show the list of services:

$ chkconfig --list
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox