[463] in Moira

home help back first fref pref prev next nref lref last post

honor: mailmaint

daemon@ATHENA.MIT.EDU (Mark Rosenstein)
Wed Sep 23 11:42:41 1992

Date: Wed, 23 Sep 92 11:41:56 -0400
From: Mark Rosenstein <mar@MIT.EDU>
To: honor@Athena.MIT.EDU
Cc: bug-moira@Athena.MIT.EDU
In-Reply-To: "andrew j. cassidy"'s message of Tue, 22 Sep 92 18:15:17 EDT <9209222215.AA25719@m1-115-17>

   Date: Tue, 22 Sep 92 18:15:17 EDT
   From: "andrew j. cassidy" <honor@Athena.MIT.EDU>

   => As to your first report that mailmaint didn't know who you were: I
   => have no idea what the problem was, and I can't reproduce it.  If you
   => ever have that happen again, *in the same xterm* try "whoami" and see
   => if that can find your username.  I expect that your session was messed
   => up somehow and this wasn't really a mailmaint problem.

   Ok, I figured out what this one is caused by.  I set the following
   resource for my xterms:

   XTerm*utmpInhibit: true

   If I start an xterm with the +ut option to override this resource,
   mailmaint knows who I am.

   --andrew cassidy
     honor@athena.mit.edu

It's not that simple.  I use xterm from the X11R5 locker which also
inhibits writing to utmp.  But mailmaint still knows who I am.

Mailmaint uses the getlogin() library call, which gets the uid of the
process, then looks that uid up in the password file.  Were you su'ed
to another user, or was your password file corrupt?
					-Mark

home help back first fref pref prev next nref lref last post