Technical article 127090

I see ssh errors about lastlog in my syslog file.

OpenServer 6.0.0

Written · Last revised

Problem

I see these errors in my syslog file everytime a user logged in:

sshd[15205]: lastlog_filetype: Couldn't stat /var/adm/lastlog: No such file or directory

sshd[15205]: lastlog_openseek: /var/adm/lastlog is not a file or directory!

Solution

This issue has been reported to SCO Engineering.

The sshd package did not create an empty log file.  To fix
the problem simply create the file as root using:
# touch /var/adm/lastlog

From the Xinuos technical article database, record 127090. Reproduced with permission. The original is at www.sco.com/ta/127090, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.