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 to recover /etc/passwd file and /etc/shadow file?
How do I find previous commands in linux?
Explain about gzip filename?
What is finger in networking?
If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?
What is mkdir p?
What command do you type to find help about the command who?
What is makefile target?
What is the command to see on which port which service is running?
What is git command?
How to write the output of a command to a file?
Explain difference between swap partition and swap file?
What is the use of ls command?
What is the difference between cd and cd in linux?
How do makefiles work?