yum install -y samba --nobest
vim /etc/samba/smb.conf
[root]
comment = share
path = /root
public = no
writable = yes
guest ok = yes
systemctl enable smb 开机启动
systemctl start smb 开启
smbpasswd -a root
yum install -y samba --nobest
vim /etc/samba/smb.conf
[root]
comment = share
path = /root
public = no
writable = yes
guest ok = yes
systemctl enable smb 开机启动
systemctl start smb 开启
smbpasswd -a root