exam questions

Exam EX300 All Questions

View all questions & answers for the EX300 exam

Exam EX300 topic 2 question 7 discussion

Actual exam question from RedHat's EX300
Question #: 7
Topic #: 2
[All EX300 Questions]

Share directories via SMB -
Configure the SMB service on the system1
Your SMB server must be a member of the work group STAFF
Share /common and share name must be common
Only clients of domain11.example.com can access the common share

Common must be able to browse -
User andy must be able to read the content of the share, if necessary, verfication code is redhat

Show Suggested Answer Hide Answer
Suggested Answer: See Explanation
system1:
yum -y install samba samba-client
firewall-cmd --add-service=samba permanent
firewall-cmd --add-service=mountd permanent
systemctl restart firewalld
vim /etc/samba/smb.conf
workgroup = STAFF
[common]
path = /common
hosts allow = 172.24.11.
browseable = yes
:wq
mkdir /common
chcon R t samba_share_t /common/
smbpasswd -a andy
systemctl start smb
systemctl enable samba
system2:
yum install y cifs-utils samba-client

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
snota45
5 months ago
when relabeling a share with a selinux context label it is better to use semanage instead of chcon
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago