From the course: Linux System Engineer: Network Filesystems Using NFS and Samba

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Mount a share for group collaboration

Mount a share for group collaboration - Red Hat Enterprise Linux Tutorial

From the course: Linux System Engineer: Network Filesystems Using NFS and Samba

Start my 1-month free trial

Mount a share for group collaboration

- [Narrator] For this exercise, we'll mount our Samba group collaboration share. Make sure you're logged into rhhost2 with a terminal open. Let's create the Samba colab group with the same group ID that we used on rhhost1. Type in sudo space groupad space -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 Samba colab group. Type in sudo space usermod space -a space -G space sambacolab 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 -L space //rhhost1/sambagroup space -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 mkdir space /home/sambagroup. Type in sudo space mount space -t space…

Contents