how to create SAMBA server in fedora 9 linux ?

Answer Posted / gaurav chaudhary

create a yum Server
#yum install samba* -y
#vi /etc/samba/smb.conf
[RHCE]
comment = share dir
public = no
path = /data
writable = yes
browseable = yes
valid users = u1
:wq
#service smb restart
#useradd u1
#passwd u1
#mkdir /data
#smbpasswd -a u1
#getsebool -a | grep samba
#setsebool -P samba_enable_home_dirs on
#setfacl -m u:u1:7 /data
#service smb restart
#chkconfig smb on
Now for check the samba server is working (Yes/No)
#smbclient //IP Address of the samba SRV(172.24.0.254)/RHCE
-U u1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you grep?

562


What is cd in cmd?

520


Is python faster than bash?

570


How do I clear my run history?

559


you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.

536






What is finger in networking?

537


What is mkdir p linux?

543


How do I change shell in linux?

518


How do you ask politely?

534


What is nslookup command?

519


What is cmake in linux?

609


What does kill in linux?

540


Explain about the command elm?

576


What command should you use to check the number of files and disk space used and each user’s defined quotas?

588


What are the basic commands in command prompt?

556