how to create SAMBA server in fedora 9 linux ?

Answer Posted / saravanakumar.j

yum install samba*
vim /etc/samba/smb.conf
line no:74 workgroup=SMBGROUP
line no:81 hosts allow = 172.168.0.x
go to end of the lin eput entry
[saravanakumar]
path = /saravanakumar
writelist = yes
readlist = yes
browseable = yes
validusers = saravanakumar
save & exit :wq
mkdir /saravanakumar
useradd saravanakumar
getsebool -a|grep samba
setsebool -P samba_enable_home_dirs=on
ls -ldZ /saravanakumar
smbpasswd -a saravanakumar
password:password
password:password
chcon -R -t samba_share_t /saravanakumar
testparm
service smb restart
chkconfig smb on
smbclient //stationx/saravanakumar -U /saravanakumar
password:password
smb>ls

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is llvm used for?

523


How do I run a script in linux?

545


Which command puts a script to sleep untill a signal is recieved?

644


How to activate / deploy licence in RHEL 6 and what will happen if you don't activate / deploy licence in RHEL 6 ?

2277


How do I set permission to run in linux?

583






Explain command grouping in linux?

555


What are the command prompt commands?

529


Explain any one service which are working on udp only?

526


Explain shift command of linux?

577


How do I know my shell?

542


What does ls mean in linux?

583


What does grep command do?

582


How use more command in linux?

547


You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?

591


What does r mean linux?

601