yum -y install samba cp /etc/samba/smb.conf /etc/samba/smb.conf.bak cat >> /etc/samba/smb.conf <<END [gmcc] comment = gmcc path = /home/vedio writable = yes END useradd gmcc smbpasswd -a gmcc service smb restart chkconfig smb on chkconfig --list|grep smb
时间: 2024-10-05 05:40:21