From the course: Red Hat Enterprise Linux 8 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Provide network shares to specific clients
From the course: Red Hat Enterprise Linux 8 Essential Training
Provide network shares to specific clients
- [Instructor] For this exercise we're going to create a private samba share. To keep this exercise brief we will not duplicate all of the steps that we did in earlier chapters. Make sure you completed the exercise in creating a public share before doing this one. Ensure the firewall's configured for samba and make sure the samba service is running. Make sure you're logged into your rhhost1 VM and have a terminal open. We'll start by creating a directory. Type in sudo space mkdir space /home/sambaprivate and hit Enter. Type in your password if prompted. Now let's change the ownership and permissions of this directory so user1 can write to it. Type in sudo space chown space user1:user1 space /home/sambaprivate and hit Enter. So now let's hit the permissions. Type in sudo space chmod space 775 space /home/sambaprivate and hit Enter. Now let's change the SELinux policy database to expect our samba private directory to have the public_content_rw_t type. We'll do this with the semanage…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
smb services introduction39s
-
(Locked)
Install and configure Samba services2m 11s
-
(Locked)
Manage SELinux for SMB services2m 24s
-
(Locked)
Samba global configuration options1m 45s
-
(Locked)
Samba share configuration definitions1m 1s
-
(Locked)
Create a simple public share5m 5s
-
(Locked)
Provide network shares to specific clients5m 23s
-
(Locked)
Automount using a credentials file2m 24s
-
(Locked)
Provide network shares suitable for group collaboration5m 31s
-
(Locked)
Mount a share for group collaboration1m 58s
-
(Locked)
Challenge: SMB share for group collaboration55s
-
(Locked)
Solution: SMB share for group server6m 6s
-
(Locked)
Solution: SMB share for group client3m 52s
-
(Locked)
-
-
-