Author Topic: Samba Command line  (Read 673 times)

cdhgold

  • Member
  • **
  • Posts: 50
  • Kudos: 0
Samba Command line
« on: 24 April 2003, 20:29 »
I'm using Redhat 9 with Samba services running. I used the GUI tools in GNOME to set it up but am still learning how to manage things command line. How can i go about managing my samba config including fileand printer sharing via the command line and not the GUI?

Chris
Thanks in Advance

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
Samba Command line
« Reply #1 on: 24 April 2003, 22:12 »
edit the stuff in /etc/samba/smb.conf


Its pretty well commented.


then restart samba service, im not sure how its done in redhat (# service smb restart) but on slack 9 i do # /etc/rc.d/rc.samba restart

Pantso

  • Member
  • **
  • Posts: 1,249
  • Kudos: 55
    • http://www.support-freesoftware.org
Samba Command line
« Reply #2 on: 24 April 2003, 23:40 »
quote:
Originally posted by cdhgold:
I'm using Redhat 9 with Samba services running. I used the GUI tools in GNOME to set it up but am still learning how to manage things command line. How can i go about managing my samba config including fileand printer sharing via the command line and not the GUI?

Chris
Thanks in Advance



I'll agree with Doogee. Edit the smb.conf file, under /etc/samba/smb.conf and then restart samba. I don't know however where the startup scripts for samba and other daemons are installed in redHat 9 though. I believe that something like:

Code: [Select]

would do the job.