Under redhat 7.1 (or any Linux with chkconfig installed.)..

as root, in console under X...

# chkconfig smb on

Will switch it on... To get it to be on for all levels, do:

# chkconfig --level 2345 smb on

conversely, you can turn off services by doing chkconfig <service name> off,
or with the --level bit it will remove them from all levels...

Cheers, Chris H.


----- Original Message -----
From: "Paul Parkyn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 26, 2002 7:58 PM
Subject: Adding a Service to the start at boot


> Hello all,
>
> I am trying to add a service to the start up configuration. I am running
> Redhat 7.1 using runlevel 5 the Samba Server is what I want to add.
>
> Thanks
> Regards Paul
>

Reply via email to