Subject: utmp location
To: MacBSD Mailing List <port-mac68k@NetBSD.ORG>
From: David Bushong <dbushong@volga.EECS.Berkeley.EDU>
List: port-mac68k
Date: 09/06/1996 01:14:09
Perhaps this has been fixed in a new binary of xterm released
with a newer X11 binary kit, but I thought it might help some people to
know that the old one appears to have the path for the utmp file (where
"who's logged in" is kept track of) hard-coded to /etc/utmp. The
location for netbsd is /var/run/utmp.
I noticed this because even xterm +ut wasn't registering me as
logged in. A symbolic link seems to make xterm happy, however, so doing
"cd /etc ; ln -s /var/run/utmp utmp" as root should do it.
If this is old knowledge a) wish I'd known sooner! b) flame me
heartlessly.. I'm too happy that I actually show up on a finger of my
system to care!!
--David "I am not a uid, I am free man!" Bushong
_/_/_/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ _/ _/ _/ _/ _/ David P. Bushong -- (510) 845-3271 _/
_/ _/ _/_/_/ _/_/_/ dbushong@cory.eecs.berkeley.edu _/
_/ _/ _/ _/ _/ http://www-inst.eecs.berkeley.edu/~dbushong_/
_/_/_/_/_/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/