When I run this script I get
[root@auth bin]# ./log_badlogins
Could not open file none
[root@auth bin]#
What can I do to fix this?