User Tools

Site Tools


ubuntu:samba:configure_a_restricted_share_directory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:samba:configure_a_restricted_share_directory [2019/12/08 21:04] – created peterubuntu: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 /etc/samba/smb.conf>+<file bash /etc/samba/smb.conf>
 # 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
 +</code>
  
 +will prompt for a password:
  
 +<code bash>
 New SMB password:     # set password New SMB password:     # set password
  
 Retype new SMB password: Retype new SMB password:
 Added user ubuntu. Added user ubuntu.
 +</code>
  
 +Add the user to the security group:
  
 +<code bash>
 sudo usermod -G security peter sudo usermod -G security peter
 +</code>
  
 +Restart Samba
 +
 +<code bash>
 sudo systemctl restart smbd  sudo systemctl restart smbd 
 </code> </code>
  
ubuntu/samba/configure_a_restricted_share_directory.1575839073.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki