大家都说好记性不如烂blog

博客园 首页 新随笔 联系 订阅 管理

04 2012 档案

摘要:系统版本:Red Hat Enterprise Linux AS release 4Linux用户密码策略 Linux用户密码的有效期,是否可以修改密码可以通过login.defs文件控制.对login.defs文件修只影响后续建立的用户,如果要改变以前建立的用户的有效期等可以使用chage命令. Linux用户密码的复杂度可以通过pam pam_cracklib module或pam_passwdqc module控制,两者不能同时使用. 个人感觉pam_passwdqc更好用./etc/login.defs密码策略PASS_MAX_DAYS 99999 #密码的最大有效期, 99999:永 阅读全文
posted @ 2012-04-26 11:04 leqiangw 阅读(3310) 评论(0) 推荐(0)

摘要:Contents1.Install Tripwire2.Initializing the Database3.Run a Tripwire integrity check4.Printing Reports5.Take appropriate security measures6.Updating the Database after an Integrity Check7.Updating the Policy File8.Signing the Configuration File9.Run tripwire from cron10.Check if tripwire can send E 阅读全文
posted @ 2012-04-24 13:26 leqiangw 阅读(524) 评论(0) 推荐(1)

摘要:,当模拟TCP client对外发起连接数达到28000左右时,开始大量抛如下异常:java.net.BindException: Cannot assign requested addressat sun.nio.ch.Net.connect0(Native Method)at sun.nio.ch.Net.connect(Net.java:364)at sun.nio.ch.Net.connect(Net.java:356)at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketCh 阅读全文
posted @ 2012-04-01 13:59 leqiangw 阅读(311) 评论(0) 推荐(0)