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

Mount a share for group collaboration

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

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…

Contents