Red_Hat
RH302 · Question #153
22: /storage directory on linux server should make available on windows to only Harold with full access but read only to other users and make sure that /storage can access only within example.com…
Answers: 1. vi /etc/samba/smb.conf [global] netbios name=station? workgroup=station? security=user smb passwd file=/etc/samba/smbpasswd encrypt passwords=yes hosts allow=.example.com [data] path=/storage public=no writable=no write list=harold browsable=yes 2. smbpasswd -a…
Service management
Question
22: /storage directory on linux server should make available on windows to only Harold with full access but read only to other users and make sure that /storage can access only within example.com domain. Configure to make available.
Explanation
Answers:
- vi /etc/samba/smb.conf [global] netbios name=station? workgroup=station? security=user smb passwd file=/etc/samba/smbpasswd encrypt passwords=yes hosts allow=.example.com [data] path=/storage public=no writable=no write list=harold browsable=yes
- smbpasswd -a harold
- service smb start
- chkconfig smb on
Topics
#Samba#file sharing#Windows integration#domain restriction
Community Discussion
No community discussion yet for this question.