mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
update
This commit is contained in:
parent
27dfe7bed0
commit
b86d12929d
@ -40,11 +40,14 @@ guest ok = yes
|
||||
|
||||
```
|
||||
$ cd ~/fig/samba
|
||||
$ mkdir share
|
||||
$ chmod 777 share
|
||||
$ touch share/README.txt
|
||||
$ docker-compose up -d
|
||||
$ docker exec -it samba_samba_1 sh
|
||||
>>> chmod 777 /share
|
||||
>>> adduser kev
|
||||
>>> smbpasswd -a kev
|
||||
>>> smbpasswd -a root
|
||||
New SMB password:******
|
||||
Retype new SMB password:******
|
||||
>>> exit
|
||||
```
|
||||
|
||||
|
@ -16,10 +16,6 @@ pam password change = yes
|
||||
map to guest = bad user
|
||||
usershare allow guests = yes
|
||||
load printers = no
|
||||
show add printer wizard = no
|
||||
printing = none
|
||||
printcap name = /dev/null
|
||||
disable spoolss = yes
|
||||
|
||||
[share]
|
||||
path = /share
|
||||
|
Loading…
Reference in New Issue
Block a user