home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / bugs / 14 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.8 KB  |  50 lines

  1. Newsgroups: comp.sys.next.bugs
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!mmm.serc.3m.com!pwcs!kegworks!lfahnoe
  3. From: lfahnoe@kegworks.mn.org (Larry Fahnoe)
  4. Subject: netinfo/security: lockout disables login_accounting
  5. Message-ID: <1993Jan4.023731.250@kegworks.mn.org>
  6. Organization: The Kegworks, Minneapolis, Minnesota
  7. Date: Mon, 4 Jan 1993 02:37:31 GMT
  8. Lines: 40
  9.  
  10. Environment: standalone cube running 3.0
  11.  
  12. I would like to be able to log failed login attempts, and according to the
  13. network and system admin guide (chapter 14, setting security options in
  14. netinfo) I can do this.  After following the instructions and verifying
  15. them with niutil:
  16.  
  17.     cubit> niutil -read . /
  18.     master: localhost/local 
  19.     security_options: login_accounting lockout 
  20.     trusted_networks: 0 
  21.  
  22. To test this, I added a line to syslog.conf:
  23.  
  24.     *.debug        /usr/adm/debug
  25.  
  26. However after much tinkering about, I find that when you add the lockout
  27. flag, you loose login_accounting's ability to log failed attempts.  A
  28. simple test shows this:
  29.  
  30.     - set security_options to login_accounting
  31.     - try a few bad logins
  32.     - set security_options to login_accounting + lockout
  33.     - try a few more bad logins
  34.  
  35. Only the first set of login errors will be logged.  It seems that
  36. sucessfull logins get logged in either case, but I was not testing for
  37. that case.  I have done these tests on a system with a fresh netinfo
  38. database so I do not believe that there are additional bogosities in my
  39. netinfo database that were causing problems.
  40.  
  41. Additionally, it seems that simply sending a HUP to syslogd does not cause
  42. syslogd to really read /etc/syslog.conf.  I found that to add a new log
  43. file required syslogd to be killed and restarted.
  44.  
  45. --Larry
  46. -- 
  47. Larry Fahnoe                        Cellular One
  48. 612/832-7616                        7900 S. Xerxes Ave, Suite 301
  49. lfahnoe@kegworks.mn.org             Minneapolis, MN  55431
  50.