yum install samba samba-client samba-common

vi /etc/samba/smb.conf


        workgroup = WORKGROUP
        server string = CNX5 Samba Server %v
        netbios name = CNX5
        security = user
        map to guest = bad user
        dns proxy = no

        path = /opt/IBM
        valid users = root
        browsable =yes
        writable = yes
        guest ok = no

smbpasswd -a root

systemctl enable smb.service
systemctl enable nmb.service
systemctl restart smb.service
systemctl restart nmb.service






Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.