Subject: getlogin() anomaly
To: None <>
From: None <>
List: netbsd-users
Date: 01/07/2001 16:18:07
A strange feature (?) has developed on our home server over the past
few weeks.  Various utilies - eg logname, w, talk - are sometimes
returning incorrect user names. This appears to have started since
installation of KDE and use of kdm (though not completely certain of
this). The system is i386 -1.4.1 and 1.5 (the anomaly persisted over
an upgrade). The setup is that the server provides XDM services (kdm)
to a number of diskless clients.

 A debug trace of w and logname, shows that getlogin() is returning
the incorrect name. pstree (from the pkg collection) displays what
appears to be a correct ownership hierarchy.

I am stumped - any suggestions ?