From the course: Red Hat Enterprise Linux 8 Essential Training
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Mount a share for group collaboration
From the course: Red Hat Enterprise Linux 8 Essential Training
Mount a share for group collaboration
- [Instructor] For this exercise, we'll mount our Samba group collaboration share. Make sure you're logged into rhhost2 with the terminal open. Let's create the sambacolab group with the same group ID that we used on our rhhost1. Type in sudo space groupadd space dash g space 6001 space sambacolab and hit enter. Type in your password if prompted. Next let's add both user one and user two to our sambacolab group, Type in sudo space usermod space dash a space dash capital G space sambacolabs space user1. Bring your line back, and change user1 to user2, and hit enter again. Now let's try to list a samba group share using SMB client as user1 and user2. Type in smbclient space dash capital L space slash slash rhhost1 slash sambagroup space dash capital U space user1 and hit enter. Enter user1's password. Bring your line back and change user1 to user2 and hit enter. Now that that worked, let's go ahead and try to mount it. Type in clear, and let's make our mount point. Type in sudo space…
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
-
-
-
-
-
-
-
-
-
-
-
-
-
smb services introduction39s
-
Install and configure Samba services2m 11s
-
Manage SELinux for SMB services2m 24s
-
Samba global configuration options1m 45s
-
Samba share configuration definitions1m 1s
-
Create a simple public share5m 5s
-
Provide network shares to specific clients5m 23s
-
Automount using a credentials file2m 24s
-
Provide network shares suitable for group collaboration5m 31s
-
Mount a share for group collaboration1m 58s
-
Challenge: SMB share for group collaboration55s
-
Solution: SMB share for group server6m 6s
-
Solution: SMB share for group client3m 52s
-
-
-
-