快速建samba服务器

快速建samba服务器

1、安装

yum install samba -y

2、配置

/etc/samba/smb.conf

[global]

workgroup = MYGROUP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam

load printers = yes
cups options = raw

[image]
comment = Public imagine server
path = /data/img/
public = yes
writable = yes
printable = no

3、添加用户

smbpasswd -a nobody

passwd:123

4、windows上删除远程共享帐号

net use 列出当前连接共享
net use \\192.168.xxx.xxx /del 删除共享
只有删除共享后下次登陆才需要密码!

 

你可能感兴趣的:(samba,共享帐号)