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

Unlock the full course today

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

Create an NFS share for group collaboration

Create an NFS 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 an NFS share for group collaboration

- [Instructor] For this exercise, we'll create an NFS share for group collaboration. Make sure you're logged into your RH Host One VM and have a terminal open. Due to the length of this exercise, I'll be rather brief in each step. For more detailed information, refer to the previous videos in this course. Let's start this exercise by creating a new directory to export. In a terminal, type in, sudo space mkdir space /home/groupshare and hit enter. Type in your password if prompted. Let's also create a new user called user two. Type in sudo space useradd space user2 and hit enter. Let's take note of our user IDs by viewing the etc password file. Type in cat space /etc/passwd and hit enter. We can see that the user ID for user one is 1,000 and the user ID for user two is 1,001. Remember this, it will be important later. Now let's create a group for collaboration and place both users in it. We're going to specify the group ID so that it doesn't mess up the order of new users added to the…

Contents