Samba

From SWKLS WIKI
Revision as of 14:29, 26 March 2020 by Unknown user (talk) (→‎SAMBA CentOS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SAMBA CentOS

After inital CentOS install & updates

yum install samba samba-client
systemctl start smb.service
systemctl start nmb.service
systemctl enable smb.service
systemctl enable nmb.service
firewall-cmd --permanent --zone=public --add-service=samba
firewall-cmd --zone=public --add-service=samba
setsebool -P samba_enable_home_dirs on

Create backupuser if not created during initial install

adduser backupuser
passwd backupuser

Add user to SAMBA user list

smbpasswd -a backupuser