Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 353
  • Last Modified:

Starting up Samba Server @ startup

I just got the Samba server working on my new Linux SuSe 8.1, but there's one little problem.
Can the Samba Server be started when the computer boots?
Is their an option that has to be changed or should I use some kind of script (like a batch-file in Windows) which makes the SambaServer run @startup?

Hoping on a positive response.
0
Soultiller
Asked:
Soultiller
  • 2
1 Solution
 
NStar1976Commented:
Look in your /etc/inittab, there should be a line like this:

id:3:initdefault

the "3" is the default runlevel (may be 5). then you have to do the following symlink:

ln -s /etc/init.d/smb /etc/rc3.d/S99smb

assuming that your default init level is 3 and you want the smb daemon starting with cardinality 99.

Thomas
0
 
SoultillerAuthor Commented:
I think this will get me going, but can you plz explain me what is cardinality, maybe I know what it is but don't know the proper name?

Hoping on a positive response
0
 
SoultillerAuthor Commented:
I think this will get me going, but can you plz explain me what is cardinality, maybe I know what it is but don't know the proper name?

Hoping on a positive response
0
 
psimationCommented:
"cardinality" is the order in which processes are started and stopped.
It doesn't really matter for samba, as samba is not *really* dependant on other processes to be started before it can start.

There is a much easier way to manage your services:

type setup at a prompt, and go to system services.

All the services you want to start at boot must have tick marks next to them.

Usually the daemon names listed there correlate with the package name, but for instane, SAMBA service is started by the smb daemon...
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now