#可以删除的用户 news uucp gopher #可以删除的组 news uucp dip #局域网环境下禁止用户使用拨号连接 pppusers popusers slipusers 还要关闭IP伪装和绑定多IP功能。修改/etc/host.conf文件。 /etc/host.conf #多IP绑定 multioff #IP伪装 nospoofon |
按照需要禁止通过Ctrl+Alt+Del键关机。修改/etc/inittab文件可以禁止该功能,同时可以加强终端窗口的安全。
/etc/inittab
#使用Ctrl+Alt+Del三间关闭系统,也可以增加延长时间并通知管理员
#ca::ctrlaltdel:/sbin/shutdownt3rnow |
增加超级守护进程的限制。修改/etc/xinetd.conf文件,可以增加远程连接的时间,访问网段等限制等安全设置。这些修改将对telnet等由xinetd管理的所有服务进程生效。
/etc/xinetd.conf
defaults
{
instances=60
log_type=SYSLOGauthpriv
log_on_success=HOSTPID
log_on_failure=HOST
cps=2530
#限制仅有200.10.2和200.10.5网段允许访问,可根据具体情况调整
only_from=200.10.5.0200.10.2.0
#禁止其他网段访问
no_access=0.0.0.0
#限制访问时间在7:00到24:00,可以根据上班时间限制
access_times=7:00-24:00
}
includedir/etc/xinetd.d
|

用户评论