标签:path bpa direct create pass 配置 creat sam smb
1:添加用户
useradd wangjunhui -d /home/wangjunhui
passwd wangjunhui
2:配置samba
smbpasswd -a wangjunhui
vi /etc/samba/smb.conf
[wangjunhui]
comment = wangjunhui share
path=/home/wangjunhui
valid users=wangjunhui
writable = yes
create mask = 0777
directory mask = 0777
3:重启samba
rcsmb restart
标签:path bpa direct create pass 配置 creat sam smb
原文地址:https://www.cnblogs.com/erhu-67786482/p/10874142.html