1) Open your terminal and login as root
2) type yum install samba and wait until it complete install.
3) Edit /etc/samba/smb.conf with your favorite editor like vi
4) Find workgroup = (yourgroup), server string = (your description), security = share.
5) Go to the bottom of smb.conf and remove ; to enable the purpose.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
example:
[marketing_sharing_file]
comment = Saled Item
path = /home/marketing_department
; valid users = nobody
guest ok = yes
writeable = yes
; printable = no
create mask = 0777
After you edit, save and exit.
Thats all. Easy!
No comments:
Post a Comment