Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sat Nov 18, 2017 4:37 pm


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - Linux - Unable to login (and authentication succeeds) - File size limit exceeded
Author Message
Post subject: Re: Linux - Unable to login (and authentication succeeds) - File size limit exceeded  |  Post Posted: Tue Dec 06, 2011 8:24 am
Can you post some configuration ?
Post subject: Re: Linux - Unable to login (and authentication succeeds) - File size limit exceeded  |  Post Posted: Thu Dec 01, 2011 8:09 am
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.
Post subject: Re: Linux - Unable to login (and authentication succeeds)  |  Post Posted: Fri Oct 08, 2010 10:30 am
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
Post subject: Linux - Unable to login (and authentication succeeds) - File size limit exceeded  |  Post Posted: Fri Oct 08, 2010 10:22 am
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).
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO