home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12608 < prev    next >
Encoding:
Text File  |  1992-12-16  |  2.2 KB  |  50 lines

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