Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐: 强烈推荐:Ylmf OS 3.0 正式版发布附迅雷高 XP系统下硬盘安装Fedora 14图文教程
搜索:
您的位置: Linux安全网 > Linux入门 > » 正文

RHCE 6.0 集训试题+答案(5)

来源: 未知 分享至:
下载http://192.168.0.254/pub/tools/www.html文中,当用户输入http://serverX.example.com可以访问到该文中的内容,该站点需要身份验证,仅alicebob可以访问,密码均为redhat 生成httpd的用户认证 htpasswd -cm /etc/httpd/.htpasswd alice htpasswd -m /etc/httpd/.htpasswd bob NameVirtualHost 192.168.0.116:80 <VirtualHost 192.168.0.116:80>     ServerAdmin webmaster@dummy-host.example.com     DocumentRoot /var/www/html/virt2     ServerName www16.example.com     <Directory /var/www/html/virt2>     AuthName \"test\"     AuthType basic     AuthUserFile /etc/httpd/.htpasswd     require valid-user     </Directory>     ErrorLog logs/dummy-host.example.com-error_log     CustomLog logs/dummy-host.example.com-access_log common </VirtualHost> 新建邮件服务器,要求如下 1、允许localhost和远程主机均能够访问 2、允许example.com域可以中继,拒绝remote.test 3、所有发送给user3的邮件将发送给user1 4、仅允许用户在example.com域中使用pop3接受邮件。

Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史