1 | hosts allow = 192.168.1. 127. |
1 | interfaces = eth1 |
1 2 3 | [tmp] path=/tmp writeable=yes |
1 | $ testparm |
1 2 3 4 | # smbpasswd -a myuser New SMB password: <enter "mypass" here> Retype new SMB password: <enter "mypass" again> Added user myuser. |
1 2 3 | #/etc/hosts excerpt 127.0.0.1 localhost 192.168.1.1 mybox mybox.mydomain.com |
1 2 | # smbd # nmbd |
1 2 | # kill -hup <pid of smbd> # kill -hup <pid of nmbd> |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |