LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-22-2004, 06:42 AM   #1
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 30
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

Last edited by drisay; 10-22-2004 at 06:45 AM.
 
Old 10-22-2004, 12:20 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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.
 
Old 10-22-2004, 01:19 PM   #3
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
# 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
 
Old 10-22-2004, 02:28 PM   #4
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start/stop remote Windows services with Samba Xnake Linux - Networking 3 09-03-2005 12:08 PM
Which services to keep for samba? dataangel Linux - Newbie 6 09-07-2004 09:15 AM
Windows Services for Unix NFS or Samba flysideways Linux - Networking 0 04-12-2004 10:05 AM
Configuring services, sshd and Samba scarr3d Debian 2 02-26-2004 06:36 PM
Can someone tell me what services need to be selected for auto-startup for Samba fs? RedHatMasta Linux - Networking 5 02-02-2004 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration