[ale] SSHD and lastlog

Chris Fowler cfowler at outpostsentinel.com
Thu Apr 11 13:21:45 EDT 2002



I get the following in my syslog

Apr 11 12:17:57 cas8 authpriv.info sshd[50]: lastlog_get_entry: Error reading from /var/log/lastlog: No such device or address


I do not support or us lastlog.  Why does sshd try to get another passwd structure using the current passwd structure
that has authenticated the user?

For Example:

struct passwd *pw[2];

pw[1] = getpwnam("bob");
pw[2] = getpwuid(pw[1].uid);


I will program that lastlog out of the code.  I do not support uids in my system.

Chris



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list