Samba: Difference between revisions

From SWKLS WIKI
Jump to navigation Jump to search
(Created page with "==SAMBA CentOS== After inital CentOS install & updates <syntaxhighlight lang="bash" line start="1"> yum install samba samba-client systemctl start smb.service systemctl start...")
 
 
Line 2: Line 2:


After inital CentOS install & updates
After inital CentOS install & updates
<syntaxhighlight lang="bash" line start="1">
<syntaxhighlight lang="bash">
yum install samba samba-client
yum install samba samba-client
systemctl start smb.service
systemctl start smb.service
Line 15: Line 15:
Create backupuser if not created during initial install
Create backupuser if not created during initial install


<syntaxhighlight lang="bash" line start="1">
<syntaxhighlight lang="bash">
adduser backupuser
adduser backupuser
passwd backupuser
passwd backupuser
Line 21: Line 21:


Add user to SAMBA user list
Add user to SAMBA user list
<syntaxhighlight lang="bash" line start="1">
<syntaxhighlight lang="bash">
smbpasswd -a backupuser
smbpasswd -a backupuser
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 14:29, 26 March 2020

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