Created
November 8, 2018 12:20
Star
You must be signed in to star a gist
Samba
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install -y samba samba-common python-glade2 system-config-samba | |
whereis samba | |
sudo cp -pf /etc/samba/smb.conf /etc/samba/smb.conf.bak | |
[sambashare] | |
path = /samba/sambashare | |
browsable = yes | |
writable = yes | |
read only = no | |
force user = nobody | |
sudo addgroup smbgrp | |
sudo useradd shares -G smbgrp | |
sudo smbpasswd -a shares | |
sudo chmod -R 775 /path | |
sudo chown <user>:smbgrp /spath | |
[NetworkFolderName] | |
path = /samba/shares | |
valid users = @smbgrp | |
browsable = yes | |
writable = yes | |
read only = no | |
sudo service smbd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment