nas/samba.md hinzugefügt
This commit is contained in:
24
nas/samba.md
Normal file
24
nas/samba.md
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
```
|
||||||
|
sudo adduser --no-create-home --disabled-password --disabled-login envoyr
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo smbpasswd -a envoyr
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
nano /etc/samba/smb.conf
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
[share name]
|
||||||
|
comment = whatever
|
||||||
|
path = /path to share
|
||||||
|
browsable = yes
|
||||||
|
read only = no
|
||||||
|
guest ok = no
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo service smbd force-reload
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user