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.

Create a Samba share for group collaboration

Create a Samba 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

Create a Samba share for group collaboration

- [Instructor] In this exercise we'll create a samba share for group collaboration. You should have your rhhost1 VM booted up and you should be logged in with the terminal open. We'll be using user1 and user2, both were created in the first half of this course. Let's start by creating our mount point and slash home. In a terminal type in sudo space mkdir space slash home slash sambagroup and hit enter. Type in your password if prompted. Now let's create a new group called sampacolab with a group ID of 6001 and add user1 and user2 to it. Type in sudo space groupadd space dash g space 6001 space sambacolab and hit enter. Now let's add our users. Type in sudo space usermod space dash a space dash capital g space sambacolab space user1 and hit enter. Bring your line back and change it to user2 and hit enter again. Now let's change the ownership of our samba group directory to our new samba colab group. Type in sudo space chown space colon sambacolab space slash home slash sambagroup and…

Contents