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
How many linux commands are there?
In order to improve your system’s security you decide to implement shadow passwords. What command should you use?
Which are the linux directory commands?
What is bc command in unix?
Explain getopts command of linux?
What is clang llvm?
Why ms dos is used?
How do I run a .sh file in linux?
What are the options of wc command?
Which command is used to terminate a process?
What is finger in networking?
What is iptables command in linux?
What does uname command do?
How can you check the amount of lines in a file?
What is pwd in linux command?