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

Re: sshd: lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory.



On 2009-04-20 13:08 +0200, Sthu Deus wrote:

> I see these errors in /var/log/auth.log:
>
> sshd: lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or
> directory
> sshd: lastlog_openseek: Couldn't stat /var/log/lastlog: No such
> file or directory
>
> How bad is this?

Information about users' last logins are missing if this file does not
exist, see lastlog(8).

> And how I can fix it?

Create that file:

# touch /var/log/lastlog
# chgrp utmp /var/log/lastlog
# chmod 664 /var/log/lastlog

Sven


Reply to: