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 <[email protected]> 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 | [email protected] | VIM is > http://tzafrir.org.il | | a Mutt's > [email protected] | | best > ICQ# 16849754 | | friend > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact [email protected] > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

