login history file error

Alrik

Verified User
Joined
Apr 20, 2006
Messages
33
At some new accounts i get errors about hist files wich not seem to exist.

Accounts older than a day or 2 work fine.
 
Having the same problem on all accounts...

>>>
Here is the Login History for your latest visits

Unable to read login history file
>>>
 
There is no history yet if the account was just created.
The file is created upon the first login .. or should be anyway.
If it isn't, check your /var/log/directadmin/error.log for possible clues.
Also check the permissions on:
/usr/local/directadmin/data/users/username
as the login.hist lives in that directory. Written to by the "diradmin" user, so that user needs write privilegeson the folder.

Also, this file is related:
/usr/local/directadmin/data/admin/login.hist
as it holds the login information on the number of attempts, before the info is transferred to the User's login.hist file..
so make sure this login.hist exists as well.

John
 
Back
Top