Menú
08225, Terrassa (Barcelona)
Soporte Técnico
Sábados a convenir
Cita de admin en 26 julio, 2019, 12:36 pmvi /etc/selinux/config
yum -y install samba samba-client
mkdir /shared
chmod 777 /shared
chown -R nobody:nobody shared/semanage fcontext -a -t samba_share_t /raid
semanage fcontext -a -t samba_share_t "/raid(/.*)?"archivo1 agrega la siguiente entrada a /etc/selinux/targeted/contexts/files/
file_contexts.local:
restorecon -R -v /webnano /etc/samba/smb.conf
agregar despues de global
unix charset = UTF-8
dos charset = CP932hosts allow = 127. 10.0.0.
security = user
passdb backend = tdbsam
map to guest = Bad User[Share]
path = /home/share
writable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777systemctl start smb nmb
systemctl enable smb nmb
firewall-cmd --add-service=samba --permanent
firewall-cmd --reload
vi /etc/selinux/config
yum -y install samba samba-client
mkdir /shared
chmod 777 /shared
chown -R nobody:nobody shared/
semanage fcontext -a -t samba_share_t /raid
semanage fcontext -a -t samba_share_t "/raid(/.*)?"
archivo1 agrega la siguiente entrada a /etc/selinux/targeted/contexts/files/
file_contexts.local:
restorecon -R -v /web
nano /etc/samba/smb.conf
agregar despues de global
unix charset = UTF-8
dos charset = CP932
hosts allow = 127. 10.0.0.
security = user
passdb backend = tdbsam
map to guest = Bad User
[Share]
path = /home/share
writable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777
systemctl start smb nmb
systemctl enable smb nmb
firewall-cmd --add-service=samba --permanent
firewall-cmd --reload
© Informàtica Can Boada All rights reserved