home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12687 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.7 KB

  1. Path: sparky!uunet!shady!kevin
  2. From: kevin@shady.UUCP (Kevin Smith)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Why does xterm not put in a utmp entry?
  5. Keywords: xterm utmp
  6. Message-ID: <59@shady.UUCP>
  7. Date: 18 Dec 92 14:03:08 GMT
  8. References: <1992Dec16.002521.17129@RedBrick.COM>
  9. Reply-To: kevin@shady.UUCP (Kevin Smith)
  10. Organization: ShadeTree Software, Inc.
  11. Lines: 33
  12.  
  13. In article <1992Dec16.002521.17129@RedBrick.COM> mmt@RedBrick.COM (Maxime Taksar KC6ZPS) writes:
  14. :>I have a rather odd problem (in fact, all my users seem to
  15. :>be having this problem).  Any login session using xterm
  16. :>(the standard one shipped with AIX 3.1) does not write to
  17. :>/etc/utmp.
  18. :>
  19. :>This has a couple effects, one cosmetic, one very annoying.
  20. :>
  21. :>The cosmetic problem is, of course, that the users logged
  22. :>in using xterm do not show up to "who", "w", and other
  23. :>programs that read utmp.
  24. :>
  25. :>The very annoying problem is that occasionally a user will
  26. :>bring up an xterm and will get not only their own shell, but
  27. :>someone else's process fighting for control of the tty.  I'm
  28. :>sure anyone can imagine the confusion this can cause.
  29. :>
  30. :>I've tried setting the xterm executable to be suid, but this
  31. :>had no effect.
  32. :>
  33. :>Any hints or suggestions?  (And is anyone else having this
  34. :>problem, or is it just me?)  I'm hoping that the answer isn't
  35. :>"use aixterm", since we try to keep things like .Xdefaults
  36. :>platform-independent.
  37.  
  38. You need to run xterm with the '+ut' flag or 'xterm*utmpInhibit: false'
  39. resource.  This should cause xterm to write a /etc/utmp record for the
  40. pseudo tty.
  41. -- 
  42.         | Email - !shady!kevin uunet!shady!kevin kevin%shady@uunet.uu.net
  43. Kevin Smith | Voice - (908) 874-7980
  44.         | Mail  - ShadeTree Software, Inc., 192 Capricorn Dr. #10,
  45.         |         Somerville, NJ  08876
  46.