Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-07-2004, 03:06 PM   #1
Registered: Apr 2004
Location: UK, south london
Posts: 51

Rep: Reputation: 15
samba setup

Is there anyways to setup samba from start on redhat 9 ?

Is there anycommand line bash commands for that

thanks in advance.
Old 10-07-2004, 04:09 PM   #2
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
it should be smbd start but you may have to be in the directory of ......./samba/sbin. I don't play with RH so I don't know its location. You could search for it though
Old 10-07-2004, 04:50 PM   #3
Registered: Oct 2003
Location: Vancouver
Distribution: RH Enterprise AS 3
Posts: 47

Rep: Reputation: 15
In RH, you can configure samba (or any service) to start using 'chckconfig'

In this case:

chkconfig --level 345 smb on

The '345' are the run levels in which you want smb to be on automatically.

You can check that it worked correctly via:

chkconfig --list | grep 'smb'

you should see something like:
smb 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Of course, you need root privileges to do this.
Old 10-07-2004, 04:57 PM   #4
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
if you already have it installed then

/etc/rc.d/init/smb start will turn it on. if you have not installed it, then look into the YUM project, install yum and then type:

yum install samba

sit back and wait. then you will only need to configure the smb.conf file to work properly. do a search here for my name and samba. i have posted a few times a GREAT link to a RH tutorial on samba that works perfect for me every time.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
samba setup tran_colin Linux - Networking 1 10-19-2004 05:28 PM
Samba Setup jbraum Linux - Networking 2 09-16-2004 05:58 PM
I need the content from rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba setup help wenberg Slackware 18 02-13-2004 02:40 PM
Samba Setup Kreak Linux - Networking 1 08-25-2003 10:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 AM.

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