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

How do you create a text file in linux terminal?

521


Explain trap command of linux?

574


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

549


Why we use pwd command in linux?

544


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

557






What is bash command?

499


How do I run bash on windows?

503


What is vnc?

595


The ‘logout’ built in command is used to

764


You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?

504


How do I overclock my cpu?

502


What signal is ctrl c?

516


What does sh do in linux?

505


How do I stress test my cpu?

544


What is build process?

566