Samba Authenticated Team Share

Serve /srv/samba/team from server1 as an SMB share that only the team can open, with the filesystem and SELinux agreeing, then use it from the client as alice and watch anonymous and outsider access fail.

Skill labintermediate~50 minPro

What you'll do

  • ✓Declare a standalone Samba share restricted to a group, with guests off and SMB1 never enabled
  • ✓Make ownership, a setgid mode and a persistent samba_share_t label agree with the share
  • ✓Give a Unix account a separate SMB password and start smb, now and after a restart
  • ✓Upload and list files from the client with smbclient, keeping the password out of the command line
  • ✓Show that anonymous and non-team users are refused

Lab outline

  1. 01Two machines, one team share
  2. 02Serve it from server1
  3. 03Use it from the client

Before you start

  • Access Control Lists and Inheritance
  • firewalld Zones and Least-Privilege Access
  • Filesystems and Persistent UUID Mounts

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Linux System Administration labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Samba Authenticated Team Share — Linux lab | Kube Labs