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

Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

1172


What is the command to check cpu speed in linux?

530


What is a good processor speed?

517


Explain the linux directory commands along with the description?

512


How do you do nslookup?

537






How do I check terminal history?

516


How remove all files in a directory linux?

522


What are vim commands?

525


How do I find the umask value in linux?

513


What happens to hard link when file is deleted?

498


Explain command grouping in linux?

555


What does the command env do?

537


How do you clear the screen in linux?

540


What does p mean linux?

531


Explain about communication features in UNIX?

621