作者: xiaowei022341 时间: 2007-03-09 17:36
help ???????????????????????????作者: xiaowei022341 时间: 2007-03-09 17:39
大家,可以在自己的系统建立试试,看能不能检测出来空密码的帐户作者: zza 时间: 2007-03-09 18:03
没登陆的用户就不显示了呗作者: briangao 时间: 2007-03-09 23:28
Are these new accounts (meaning the user never logged in before)? If not, then it is not too bad. As long as you have PASSREQ=YES in /etc/default/login file, user with empty password will not be allowed to login. For ssh , as long as you have PermitEmptyPasswords no in sshd_config file, the user with empty password is also disabled.\r\n\r\nNow the questions is why your logins -p doesn\'t work? I tried on Solaris 10 and 8, both works perfect. Double check your /etc/nsswitch.conf file and make sure passwd is using files. \r\n\r\nChecking empty password is a simple task. Worst comes worst, write your own script to awk out the second file of /etc/shadow file entires. If it is empty, print out the user name.\r\n\r\nHope this helps.