1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
This commit is contained in:
kev 2015-07-17 23:50:28 +08:00
parent 27dfe7bed0
commit b86d12929d
2 changed files with 6 additions and 7 deletions

@ -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