课程: Linux System Engineer: Network Filesystems Using NFS and Samba
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Mount a share for group collaboration - Red Hat Enterprise Linux教程
课程: Linux System Engineer: Network Filesystems Using NFS and Samba
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…