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 suitable for group collaboration

Provide network shares suitable for group collaboration

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Provide network shares suitable for group collaboration

- [Instructor] In this exercise, we'll create a samba share for group collaboration. You should have your hrhost1 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 sudo space mkdir space /home/sambagroup and hit Enter. Type in your password if prompted. Now let's create a new group called sambacolab with a group ID of 6001 and add user1 and user 2 to it. Type in sudo space groupadd space -g space 6001 space sambacolab and hit Enter. Now let's add our users. Type in sudo space usermod space -a space - 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 sambacolab group. Type in sudo space chown space :sambacolab space /home/sambagroup and hit Enter. Now let's set the permissions so only…

Contents