Experiment: Samba server configuration
1. Experimental purpose:
2. Set up the Samba server.Build the Samba server in the REHL6.4 operating system to provide
file resource sharing services.
3. Experimental requirements:
4. Establish subdirectories pubic, Training and Devel in /var/share directory to store public data,
technical training materials of the company and development data respectively.Set
/var/share/public directory as public share. All employees can access it anonymously, but
they can only read files instead of writing them.Share the /var/share/ Training directory as
training, allowing only admin and technical staff read-only access, and share the
/var/share/devel directory as develop. All technical staff can access the files in the directory,
but only admin and Benet staff have write access.After the setup is complete, restart the
service and test the results.Each of these groups should have a corresponding user, admin at
authentication time, and an authentication that is accessible to one user of each
group.Screenshot of the whole process!
5. Experimental steps:
6. Experimental summary:
实验:samba 服务器配置
实验目的:
搭建 Samba 服务器。在 REHL6.4 操作系统中构建 Samba 服务器以提供文件资源共享服
务。
实验要求:
在/var/share 目录中建立子目录 pubic、training、devel,分别用于存放公共数据,公司的
技术培训资料,开发数据。将/var/share/public 目录设置为 public 共享,所有员工可匿名访
问,但是只能读取文件,不能写入;将/var/share/training 目录共享为 training,只允许管理员
admin 以及技术部员工只读访问,将/var/share/devel 目录共享为 develop,技术部的员工都
可以读取该目录中的文件,但是只有管理员 admin 及 benet 项目组的员工有写入权限。设置
完成后,重启服务,并测试结果。其中每一个组应有相应的用户,验证时管理员 admin,以
及每组的一个用户可以访问的验证。全程要截图!
实验步骤:
查看是否安装 Samba
安装 Samba
评论0
最新资源