标签:cap tar ace host mkdir tca cal home ant
#useradd -M -s /sbin/nologin kvmshare
#mkdir /home/etl
#chown kvmshare:kvmshare /home/etl
将本地账号添加到 samba 密码
xxx
#smbpasswd -a kvmshare
New SMB password:
Retype new SMB password:
Added user kvmshare.
修改配置如下 /etc/samba/smb.conf
[global]
server string = Samba Server Version %v
interfaces = lo br*
bind interfaces only = Yes
security = USER
log file = /var/log/samba/log.%m
max log size = 50
load printers = No
printcap name = /dev/null
idmap config * : backend = tdb
hosts allow = 127. 172.18.
printing = bsd
[kvm]
comment = KVM User read write
path = /home/etl
public = yes
writeable = yes
valid users = kvmshare
#service smb start
标签:cap tar ace host mkdir tca cal home ant
原文地址:http://www.cnblogs.com/tengfei520/p/7115855.html