How can I check for utmp entry? Also, if the UTMP entry doesn't exist why does it work in gnome-terminal and while logging in through tty1, tty2, etc.?
On Fri, Jan 23, 2009 at 8:55 PM, Tzafrir Cohen <tzaf...@cohens.org.il> wrote: > On Fri, Jan 23, 2009 at 08:44:42PM +0000, Countable Infinity wrote: >> 'who am i' produces the following output in gnome-terminal: >> >> hum...@nifty:~$ who am i >> humpty pts/2 2009-01-24 02:12 (:0.0) >> >> However, in mrxvt, it does not produce any output. >> >> hum...@nifty:~$ who am i >> hum...@nifty:~$ >> >> What could be the reason for this? Is this a bug? > > No utmp entry? > > xterm is setuid root, and 'who mom likes' works there. mlterm is not and > 'who -m' prints nothing. > > -- > Tzafrir Cohen | tzaf...@jabber.org | VIM is > http://tzafrir.org.il | | a Mutt's > tzaf...@cohens.org.il | | best > ICQ# 16849754 | | friend > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org