Discussion:
sshd: lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory.
(too old to reply)
Sthu Deus
2009-04-20 11:20:09 UTC
Permalink
Good day.

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? And how I can fix it?

Thank You for Your time.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Sven Joachim
2009-04-20 13:50:09 UTC
Permalink
Post by Sthu Deus
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).
Post by Sthu Deus
And how I can fix it?
Create that file:

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

Sven
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...