其他分享
首页 > 其他分享> > suse12.2构建samba

suse12.2构建samba

作者:互联网

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

 

标签:comment,samba,wangjunhui,mask,构建,0777,home,suse12.2
来源: https://www.cnblogs.com/erhu-67786482/p/10874142.html