Re: bad login attempts not written to /var/log/btmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 27/07/11, Renato wrote:

| no, didn't know it conflicted with lastb. However, stopping it doesn't
| change the situtation, bad logins aren't logged to /var/log/btmp.
| 
| Can I configure syslog-ng to report bad login attempts?

Dude, it's not syslog-ng.

Read the man pages, for example "man lastb" says:

NOTES
      The files wtmp and btmp might not be found. The system only logs
      information in these files if they are present. This is  a  local
      configuration  issue.  If  you  want  the files to be used, they
      can be created with a simple touch(1) command (for example, touch
      /var/log/wtmp).

These are also clues (in the same man page):

SEE ALSO
      shutdown(8), login(1), init(8)

-- 
Simon Perry (aka Pezz)



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux