home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!spool.mu.edu!uwm.edu!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!mskucher
- From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
- Subject: Re: Why does xterm not put in a utmp entry?
- Message-ID: <BzCyLz.3qw@math.uwaterloo.ca>
- Keywords: xterm utmp
- Organization: Math Faculty Computing Facility, University of Waterloo, Canada
- References: <1992Dec16.002521.17129@RedBrick.COM>
- Date: Wed, 16 Dec 1992 15:20:22 GMT
- Lines: 38
-
- mmt@RedBrick.COM (Maxime Taksar KC6ZPS) writes:
- >I have a rather odd problem (in fact, all my users seem to
- >be having this problem). Any login session using xterm
- >(the standard one shipped with AIX 3.1) does not write to
- >/etc/utmp.
- >
- >This has a couple effects, one cosmetic, one very annoying.
- >
- >The cosmetic problem is, of course, that the users logged
- >in using xterm do not show up to "who", "w", and other
- >programs that read utmp.
- >
- >The very annoying problem is that occasionally a user will
- >bring up an xterm and will get not only their own shell, but
- >someone else's process fighting for control of the tty. I'm
- >sure anyone can imagine the confusion this can cause.
- >
- >I've tried setting the xterm executable to be suid, but this
- >had no effect.
- >
- >Any hints or suggestions? (And is anyone else having this
- >problem, or is it just me?) I'm hoping that the answer isn't
- >"use aixterm", since we try to keep things like .Xdefaults
- >platform-independent.
-
- The xterm binary must be compiled with the appropriate options to ensure
- that the code supporting utmp updates is included; check the makefile/imakefile
- or README for which options to use. I suspect the default is to leave that
- code out of the xterm binary at compile time.
-
- If the code provided with AIX doesn't give you this, then you can get the
- full sources from the net.
-
- -- Murray S. Kucherawy ----------------------------------------+--------------
- Software Systems Co-op, Math Faculty Computing Facility [MFCF] | All spelling
- University of Waterloo, Ontario, Canada | errors caused
- E-mail: mskucherawy@{math,watdragon}.UWaterloo.ca | by Pnews.
- ---------------------------------------------------------------+--------------
-