分页:
上一页 1 2 3 [4] 5 6 7 8 下一页
trap “”1 2 3
}
if [“X$HUSHLOGIN”!=“XTRUE”]
then
[ -x /usr/bin/mail ] && { # if the program is installed
[ -s “$MAIL”] && echo “\you have mail”
}
if [“$LOGNAME”!=“root”-a -x /usr/bin/news ] # be sure it’s there
then news -n
fi
fi
;;
-su)
:
;;
esac
trap 1 2 3
(4)创建/etc/.safe文件,加入允许登录的计算机的IP地址,一个地址占一行,格式如下所示
(195.1.2.3)
(194.10.2.4)
(5)执行下列命令
chmod a-w /etc/shcheck /etc/.safe
chmod u+x /etc/shcheck
chmod 0100 /bin/su
分页:
上一页 1 2 3 [4] 5 6 7 8 下一页