安装:

# yum -y install policycoreutils-python

 

semanage port -a -t ssh_port_t -p tcp 1761

semanage port -l | grep ssh

 netstat -tlp

 iptables -L

yum provides man

 

 find / -name nagios

 

 查看用户:cat /etc/passwd

查看组:cat /etc/group

cat /etc/group | awk -F: '{print $1}'