chkconfig<code> 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 show the list of services:
$ chkconfig --list