Ubuntu18.04 samba配置

1 先安装samba

sudo apt-get install samba

2 配置/etc/samba/smb.cfg

去掉下面3行注释

[homes]
comment = Home Directories
browseable = no

改动一行,否则没有写权限

read only = no

 

3 添加用户,并设置密码。

sudo smbpasswd -a xxx

posted @ 2021-01-11 22:10  mingzhang  阅读(280)  评论(0编辑  收藏  举报