home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!shady!kevin
- From: kevin@shady.UUCP (Kevin Smith)
- Newsgroups: comp.unix.aix
- Subject: Re: Why does xterm not put in a utmp entry?
- Keywords: xterm utmp
- Message-ID: <59@shady.UUCP>
- Date: 18 Dec 92 14:03:08 GMT
- References: <1992Dec16.002521.17129@RedBrick.COM>
- Reply-To: kevin@shady.UUCP (Kevin Smith)
- Organization: ShadeTree Software, Inc.
- Lines: 33
-
- In article <1992Dec16.002521.17129@RedBrick.COM> 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.
-
- You need to run xterm with the '+ut' flag or 'xterm*utmpInhibit: false'
- resource. This should cause xterm to write a /etc/utmp record for the
- pseudo tty.
- --
- | Email - !shady!kevin uunet!shady!kevin kevin%shady@uunet.uu.net
- Kevin Smith | Voice - (908) 874-7980
- | Mail - ShadeTree Software, Inc., 192 Capricorn Dr. #10,
- | Somerville, NJ 08876
-