Re: /var/log/btmp empty

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



On Tue, 21 Feb 2012 21:54:42 +0530
gt <codered12@xxxxxxxxx> wrote:

> Hello folks
> 
> My failed login attempts aren't being recorded, and lastb shows no
> output.
> 
> The permissions are correct:
> 
> -rw------- 1 root root 0 Nov 15 06:39 /var/log/btmp
> 
> Reading a previous message on the mailing list, i tried setting 
> 
> FTMP_FILE	/var/log/btmp
> 
> in /etc/login.defs. But this gives the following error (right after typing
> the username on a tty):
> 
> configuration error - unknown item 'FTMP_FILE' (notify administrator)
> 
> So two questions:
> 
> 1. Why isn't the option being recognised, even though it is present in
> the man page for login.defs?
> 
> 2. How do i enable logging to /var/log/btmp?
> 

I think FTMP_FILE is obsolete. Logging of failed login attempts is handled by
pam. Try running faillog(8)... Also I am not sure if /var/log/btmp has to be
kept at all.

-- 
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: signature.asc
Description: PGP signature


[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