Subject: Re: getlogin() anomaly
To: Alex van Denzel <email@example.com>
From: None <firstname.lastname@example.org>
Date: 01/25/2001 11:23:02
No, the booted kernel is /netbsd, and the system is all 1.5 ELF
(i386). The problem dissappears if xdm is used, and reappears with
kdm. It was the same with 1.4.1 (i386)
Alex van Denzel writes:
> Are you by any chance booting a file that is not called "/netbsd"?
> 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 ?