Code in this video_Samba Server – How to Create an Anonymous Read-Only Shared Folder on Linux

✳️ Replace the highlighted information with your own


[EveryOneRead]
path = /Samba/EveryOne
browseable = yes
writable = no
guest ok = yes
guest only = yes
read only = yes
force user = nobody

Parameter explanation:

  • [EveryOneRead] : This is the name of the shared folder as it appears to users on the network.
  • path = /Samba/EveryOne: This specifies the actual directory path on the server that will be shared.
  • browseable = yes: This parameter allows the share to appear in the network browser list.
  • writable = no: This setting prevents users from creating, modifying, or deleting files in the share.
  • guest ok = yes: Allows users to access the share without providing a Samba username or password.
  • guest only = yes: Forces all connections to use guest mode, preventing the use of real user accounts.
  • read only = yes: Sets the share as read-only, preventing users from writing any data.
  • force user = nobody: All actions in the share are executed under the “nobody” user, representing anonymous access.

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *