LAB
1. Nis
#authconfig-tui (加入nis server: server1.example.com)
%因沒有nis server,無法實作
#getent passwd (如果有查到代表成功~)
#su - guest2001(user on server1.example.com)
會找不到home directory
要設定autofs (server1己經export /home)
#vi /etc/auto.master
---略---
/home/guests /etc/auto.guest
#vi /etc/auto.guests
---略---
* -rw,soft 192.168.0.254:/home/guest/&
#service autofs restrart
#su - guest2001
#pwd(確認是否在家目錄)
2. ACLs
3. Quotas
4. SElinux
#setenforce [0|1]
#getenforce
#resotrecon -R /var/log/cron
#ls -Z /var/log/cron
#getsebool
#setsetbool
%注意/var/log/messages : Keyword: "avc" 會有詳細說明
全站熱搜
留言列表