Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

Linux - Unable to login (and authentication succeeds) - File size limit exceeded
https://forum.ivorde.com/linux-unable-to-login-and-authentication-succeeds-file-size-limit-exceeded-t139.html
Page 1 of 1

Author:  debuser [ Fri Oct 08, 2010 10:22 am ]
Post subject:  Linux - Unable to login (and authentication succeeds) - File size limit exceeded

This is most probably because of the /var/log/wtmp file which, if it goes over ~4.5GB, getty processes will not be able to create virtual terminals and all sorts of login problems from here on (sshd, telnet and so on).

Author:  debuser [ Fri Oct 08, 2010 10:30 am ]
Post subject:  Re: Linux - Unable to login (and authentication succeeds)

The way to investigate this is by starting sshd with debug
Code:
#/usr/sbin/sshd -ddd

This will show the following error when a user will fail to login (although the authentication is ok)
Quote:
File size limit exceeded


This is because SSH tries to span a virtual terminal which cannot be created because of /var/log/tmp file beeing too large.

The solution is to empty wtmp:
Code:
# >/var/log/wtmp

Author:  wnbv85 [ Thu Dec 01, 2011 8:09 am ]
Post subject:  Re: Linux - Unable to login (and authentication succeeds) - File size limit exceeded

hey
i'll guess the solution to my problem will be something simple and
obvious, because i know i ain't the first person to do this, but i've
been staring at it for days and can't see what's wrong.
os x snow leopard server; postfix 2.5.5; dovecot 1.1.17apple0.5
trying to get SMTP auth working via SASL. using a plain password
scheme and plain auth scheme over SSL. client is apple mail.
deliveries are working, and dovecot's pop3s and imaps are working just
fine. but when i attempt to use smtp auth, postfix says
SASL plain authentication failed
unable to lookup user record
scoured months worth of list archives and didn't see anything specific
to this. other eyes are appreciated! thanks.

Author:  admin [ Tue Dec 06, 2011 8:24 am ]
Post subject:  Re: Linux - Unable to login (and authentication succeeds) - File size limit exceeded

Can you post some configuration ?

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/