Telegram - ?

CentOS Samba

Linux

! CentOS . Samba .

SMB/CIFS (Server Message Block/Common Internet File System

, SELinux selinuxenables && echo enabled || echo disabled. , ():

    CentOS   Samba

, /etc/selinux/config , Vi - vi /etc/selinux/config SELINUX disabled reboot

SELinux Linux, . - SELinux , .

Samba .

 yum install samba samba-common cups-libs samba-client

mkdir p /root/SHAREDFOLDER ( , , ).

:

chown R root:users /root/SHAREDFOLDER
chmod R 775 /root/SHAREDFOLDER

Samba Vi: vi /etc/samba/smb.conf.

global :

[global]
security = user 
passdb backend = tdbsam 
workgroup = MYGROUP 
map to guest = Bad User
server string = Samba Server Version %v 

( ) [homes] ( ) [printers] ( ).

, :

[SHAREDFOLDER] 
comment = Everybody has access
path = /root/SHAREDFOLDER
force group = users 
create mask = 0666 
directory mask = 0777 
writable = yes 
guest ok = yes 
browseable = yes

, samba :

chkconfig levels 235 smb on
/etc/init.d/smb restart

Samba 137, 138, 139 445. iptables.

, , , , , , .


?

 .

P.S. , :)

"",