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 do you grep?
What is cd in cmd?
Is python faster than bash?
How do I clear my run history?
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.
What is finger in networking?
What is mkdir p linux?
How do I change shell in linux?
How do you ask politely?
What is nslookup command?
What is cmake in linux?
What does kill in linux?
Explain about the command elm?
What command should you use to check the number of files and disk space used and each user’s defined quotas?
What are the basic commands in command prompt?