samba
2021-08-28 / 2024-08-19 | ||
Kleine Knowhow um Samba einzurichten.
"Installation"
sudo apt install samba samba-common-bin
"user berechtigungen zuweisen"
sudo smbpasswd -a mani
"user für Freigaben einrichten"
sudo useradd -s /bin/false caro
sudo smbpasswd -a caro
"Schreibrecht auf [homes]"
sudo nano /etc/samba/smb.conf
[homes]
comment = Home Directories
browseable = no
[global]
WORKGROUP = HEISAG
"Freigabe erstellen"
sudo nano /etc/samba/smb.conf
# Pro freigabe neu Anfügen:
[FREIGABENAME]
#valid users =
path = FREIGABEPFAD
writeable = yes
guest ok = no
create mask = 0774
directory mask = 0774
force group = nas