Samba - How to start automatically
SuSE 8.2 Pro After installing Webmin I've managed to get Samba configured, but I cannot figure out from the SuSE documentation where to put the command to start Samba services whenever the system starts up. According to the Samba documentation, the command is: /usr/local/samba/bin/smbd -D Can someone confirm that this is the right command for SuSE? Whatever the command is, where do I put it to automate startup?
Hi, On Wednesday, November 19, 2003 at 15:34:15, Ernie DeVries wrote:
After installing Webmin I've managed to get Samba configured, but I cannot figure out from the SuSE documentation where to put the command to start Samba services whenever the system starts up.
chkconfig -a smb chkconfig -a nmb or use the YaST Runlevel Editor. You might want to read the SuSE Manual chapter about "init" to understand it. Henne -- Hendrik Vogelsang aka Henne mailto: hvogel<at>hennevogel.de I haven't been fucked like that since grade school! # random sigs made with fortune
-----Original Message-----
From: Ernie DeVries
SuSE 8.2 Pro After installing Webmin I've managed to get Samba configured, but I cannot figure out from the SuSE documentation where to put the command to start Samba services whenever the system starts up.
According to the Samba documentation, the command is: /usr/local/samba/bin/smbd -D
Can someone confirm that this is the right command for SuSE? Whatever the command is, where do I put it to automate startup?
If you installed samba from the SuSE cd's you would do insserv smb and insserv nmb to create the proper startup scripts. Ken
On Wednesday 19 November 2003 16:34, Ernie DeVries wrote:
SuSE 8.2 Pro After installing Webmin I've managed to get Samba configured, but I cannot figure out from the SuSE documentation where to put the command to start Samba services whenever the system starts up.
According to the Samba documentation, the command is: /usr/local/samba/bin/smbd -D
Can someone confirm that this is the right command for SuSE? Whatever the command is, where do I put it to automate startup?
The easiest way to do this is to use Yast. Go to Runlevel Editor, then Runlevel Properties. Find nmb and smb in the list of services. You can start or stop serverice from there, but to set it to run on bootup, check either the runlevel 3 or 5 box (i check both). Dont select runlevel 2 unless you really need it. The documentation on this is a bit unclear. Services used to be started with initd, and some still are. But somewhere along the line suse and linux switched to the runlevel approach. I find this to be a much more sophisticated way of doing things. Hope this helps. Linuxjim
participants (4)
-
Ernie DeVries
-
Henne Vogelsang
-
Ken Schneider
-
Linuxjim