In a multiuser environment, controlling access is important. Find out how to set up user-level access to the server.
- [Instructor] We've seen how to connect the…automatically provided home shares on the Samba Server.…And now let's take a look at creating a brand new share,…that's accessible to more than one user.…First, let's set up a folder to hold the files…we'll be sharing.…Here on my Samba server I'll make a folder called shared,…in the srv directory.…I'll write sudo, mkdir, srv, shared.…Srv is a folder designated for serving up data…by the file system hierarchy standard.…But you could create a different share somewhere else.…
Let's open up the permissions on that folder for now.…Sudo, chmod, dash, R, seven, seven, seven.…You'll want to make sure that you set the permissions…as needed for your purposes.…And because this is a centos system,…we'll need to tell SELinux it's okay for Samba…to share data in this folder by changing the type context.…Sudo, chcon, dash t for type, samba, share, t,…to srv, shared.…And I'll go into that folder and create a few files.…
So we have something to see.…I write fallocate, dash l, 50 megabytes,…
Released
1/30/2017- Configuring an FTP server
- Securing an FTP server
- Managing users and access
- Troubleshooting FTP problems
- Working with Samba and CIFS/SMB
- Adding a group file share
- Connecting to a share on a Windows domain
- Working with NFS
- Mounting an NFS share at boot
Share this video
Embed this video
Video: Add a group file share