Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: cdhgold 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
-
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
-
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:
would do the job.