LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   services/samba (https://www.linuxquestions.org/questions/slackware-14/services-samba-245900/)

drisay 10-22-2004 06:42 AM

services/samba
 
how do i start up services (in my case, i'm looking to start samba) on my linux box? from what i've read, the services reside in /etc/rc.d right? but how do you start them? initially i had deactivated samba in the install because i had no plans on using that, but now i'd like to and have no clue how to start it up.

also... how do i know what workgroup i'm in? or am i actually defining that in smb.conf?

thanks,
drisay

Peacedog 10-22-2004 12:20 PM

Quote:

how do i start up services (in my case, i'm looking to start samba) on my linux box? from what i've read, the services reside in /etc/rc.d right? but how do you start them? initially i had deactivated samba in the install because i had no plans on using that, but now i'd like to and have no clue how to start it up.

There is more than one method, Have a look here. Near the end of the chapter, bottom of the page.

http://us4.samba.org/samba/docs/using_samba/ch02.html

Quote:

also... how do i know what workgroup i'm in? or am i actually defining that in smb.conf?
You may define this in the smb.conf with the

workgroup = YOURCHOICE

option under global. Hope this helps.
good luck.

kenji 10-22-2004 01:19 PM

# ntsysv

and choose samba

# /sbin/service smb start

# /sbin/service smb restart

# /sbin/service smb stop

an alternative! £Ä3

# /etc/rc.d/init.d/smb start

# /etc/rc.d/init.d/smb restart

# /etc/rc.d/init.d/smb stop

-X- 10-22-2004 02:28 PM

While it's nice to offer help, you RH guys need to quit being so zealous on answering questions without seeing the distro in question. That is not how Slackware does it, so don't confuse the folks coming here for answers.

The short of it is as I posted this morning. As root;
# chmod +x /etc/rc.d/rc.samba
Next time you boot, samba will start.

To start samba without booting;
# /etc/rc.d/rc.samba start

Here's the msg I posted about it.
http://www.linuxquestions.org/questi...20#post1249620

The sudo may throw you, just log in as root and leave that out if you don't know what it is.


All times are GMT -5. The time now is 01:54 AM.