rss logo

Samba server with no password

Intro

We will see how to set up a Samba server on Debian with no password and no authentication.

Configuration

  • OS : Debian GNU/Linux 10 (buster)
  • samba : 4.9.5

Installation

root@host:~# apt-get install samba

Configuring Samba

  • Create a folder share :
root@host:~# mkdir /share root@host:~# chown -R nobody:nogroup /share/ root@host:~# chmod -R 777 /share/
  • Edit /etc/samba/smb.conf file :
[global] workgroup = WORKGROUP server string = serv01 security = user map to guest = bad user [share] browseable = yes path = /share read only = no guest ok = yes create mask = 777
  • Configuration check and Restart services
root@host:~# testparm root@host:~# systemctl restart smbd; systemctl restart nmbd
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Contact :

contact mail address