Operating Systems > Linux and UNIX

Samba Command line

(1/1)

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

Doogee:
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:

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
--- End quote ---


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: ---
--- End code ---

would do the job.

Navigation

[0] Message Index

Go to full version