|
Tutorials applicable on more than one Unix/Linux OS and shell scripts: ssh / openssl / protocols.
Author |
Message |
debuser
|
 |
Post subject: Linux - Unable to login (and authentication succeeds) - File size limit exceeded | Posted: Fri Oct 08, 2010 10:22 am |
|
Joined: Thu Aug 06, 2009 2:48 am Posts: 105
|
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).
|
|
|
|
|
|
debuser
|
 |
Post subject: Re: Linux - Unable to login (and authentication succeeds) | Posted: Fri Oct 08, 2010 10:30 am |
|
Joined: Thu Aug 06, 2009 2:48 am Posts: 105
|
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
|
|
|
|
|
wnbv85
|
 |
Post subject: Re: Linux - Unable to login (and authentication succeeds) - File size limit exceeded | Posted: Thu Dec 01, 2011 8:09 am |
|
Joined: Tue Nov 29, 2011 9:41 am Posts: 3
|
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.
|
|
|
|
|
admin
|
 |
Post subject: Re: Linux - Unable to login (and authentication succeeds) - File size limit exceeded | Posted: Tue Dec 06, 2011 8:24 am |
|
Site Admin
Joined: Mon Aug 03, 2009 8:43 am Posts: 104
|
Can you post some configuration ?
_________________ VPSie - SSD VPS servers in AMS-IX, LINX, DE-CIX https://vpsie.com
|
|
|
|
|
|
Users browsing this forum: No registered users and 1 guest |
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
 News Site map SitemapIndex RSS Feed Channel list
|
|