ubuntu:samba:configure_a_restricted_share_directory
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:samba:configure_a_restricted_share_directory [2019/12/08 21:04] – created peter | ubuntu:samba:configure_a_restricted_share_directory [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 19: | Line 19: | ||
Edit the Samba config file: | Edit the Samba config file: | ||
- | <file / | + | < |
# line 25: add | # line 25: add | ||
unix charset = UTF-8 | unix charset = UTF-8 | ||
Line 50: | Line 50: | ||
<code bash> | <code bash> | ||
smbpasswd -a peter | smbpasswd -a peter | ||
+ | </ | ||
+ | will prompt for a password: | ||
+ | <code bash> | ||
New SMB password: | New SMB password: | ||
Retype new SMB password: | Retype new SMB password: | ||
Added user ubuntu. | Added user ubuntu. | ||
+ | </ | ||
+ | Add the user to the security group: | ||
+ | <code bash> | ||
sudo usermod -G security peter | sudo usermod -G security peter | ||
+ | </ | ||
+ | Restart Samba | ||
+ | |||
+ | <code bash> | ||
sudo systemctl restart smbd | sudo systemctl restart smbd | ||
</ | </ | ||
ubuntu/samba/configure_a_restricted_share_directory.1575839073.txt.gz · Last modified: 2020/07/15 09:30 (external edit)