Aug 28, 2012
153 Views
0 0

Samba basic configuration in RHEL

Written by

The key to configuring Samba is its lone configuration file: smb.conf. A basic samba configuration for the smb.conf file is given below.

[global] workgroup = SIMPLE
[SHARE] comment = Common Share
path = /SHARE
read only = no
guest ok = yes

Prior to adding the confifuration to the smb.conf file, take a backup of the current smb.conf file.

and then add the directory to be shared.

******Keeping a local backup of smb.conf file***********

#cp /etc/samba/smb.conf /etc/samba/smb.conf.backup

******Create a share folder******

#mkdir /SHARE
******Give necessary permission********

#chmod 777 /SHARE

*******Add user for Share access*******

#smbpasswd -a root

give password, restart smb service enjoy sharing. 🙂

 

 

 

 

Article Categories:
Linux

Leave a Comment

Your email address will not be published. Required fields are marked *