starting samba

David Bannon D.Bannon at
Sat May 8 02:06:13 GMT 1999

At 03:49 AM 08/05/1999 +1000, Ian Charboneau wrote:
>....I go into /usr/sbin and type "samba start" and "man samba"  all I
>get is "bash: samba command not found"  

This is not really a samba nt-dom question at all. Its a very basic unix
thing. You need to look where the file (most likely a shell script) 'samba'
is and either put it (or a link to it) somewhere on your path.

I usually put links to things like 'samba' in /usr/local/sbin.

>Also how do I configure it so samba
>starts when i boot into my system.

Thats a bit system dependant, have a look at /etc/rc.d
Typically you will put a link in /etc/rc.d/rc3.d/S86samba to the script we
mentioned earlier. That way when the system reaches runlevel 3 it will call
the script passing 'start' as a parameter. Should put one in rc2.d K86samba
to stop samba when dropping back to single user...

Please direct questions to this list only if they are relevent, I'm here on
Saturday and everything that I expected to take all day has only taken a
couple of hours so I'm in a really good mood, other list members may not be
so happy


David Bannon                      D.Bannon at
School of Biochemistry            Phone 61 03 9479 2197
La Trobe University, Plenty Rd,   Fax   61 03 9479 2467
Bundoora, Vic, Australia, 3083
..... Humpty Dumpty was pushed !

More information about the samba-ntdom mailing list