home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aix / 12768 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.2 KB  |  26 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!agate!linus!philabs!acheron!scifi!watson!yktnews!admin!minnie!gerth
  3. From: gerth@watson.ibm.com (John Gerth)
  4. Subject: Re: xterm and utmp
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <1992Dec22.022647.35933@watson.ibm.com>
  7. Date: Tue, 22 Dec 1992 02:26:47 GMT
  8. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  9. References: <mdm.724555881@argus.apple.com> <BzM8nI.5MA@math.uwaterloo.ca>
  10. Nntp-Posting-Host: minnie.watson.ibm.com
  11. Organization: IBM T.J. Watson Research Center
  12. Lines: 12
  13.  
  14. I believe there are at least 3 conditions to be met for xterm to write
  15. in utmp:
  16.    (1) You have to have all the correct defines set up so that the
  17.        in the code for it is present in the binary.
  18.    (2) The various switches/resources at invocation have to work out
  19.        so that the effect is "+ut" and thus 'xterm' will attempt to update utmp.
  20. and
  21.    (3) /etc/utmp has to be writable by 'xterm'.  On most systems, this
  22.        means that 'xterm' has to be setuid root.
  23.  
  24. -- 
  25. John Gerth     gerth@watson.ibm.com        (914) 784-7639
  26.