Hello the omnipotent Linux gods... Please help me solve this puzzle.
I have rxvt version 2.10 that does not deal with the utmp entry
properly, i.e. user's name did not show up in who, w, or finger.
I thought I could live with that. But moments ago I upgraded my
kernel to 1.1.64. w ceased to work because a function that accesses
the /etc/utmp file fails.
It says:
_setutent: Can't open utmp file: No such file or directory
I tried to write my own little program that reads from the utmp file
with the functions in /usr/include/utmp.h. They return a similar
error message as above.
I am running Debian 0.91 distribution (well, with so many changes
that it does not look Debian anymore). The compiler is gcc 2.6.2.
Can someone please let me know what the problem is? Why does utmp
access functions fail?
Thanks in advance.
Song Bac
---