$TERM not set via xinetd

From: Kevin Collins (spamtotrash_at_toomuchfiction.com)
Date: 05/22/04

  • Next message: Brian Raiter: "Re: Advancing from Unix Sysadmin to Programmer"
    Date: Fri, 21 May 2004 22:30:09 GMT
    
    

    Hi,

            I have been experimenting with xinetd as an inetd replacement on HP-UX. It
    works great and as expect with everything so far except this one issue, which
    would be a show-stopper for implementing it:

    the TERM variable is not being passed when using a remote login.

    If I run start remshd with inetd, everything is fine, but under xinetd the
    shell has to initialize TERM because its not getting it from login. According
    to the man page for login(1):

          In the case of a remote login, the environment variable TERM is also
          set to the remote user's terminal type.

    Anyone else seen this behavior with xinetd? Anyone else using xinetd on HP-UX?
    I do not see this problem with xinetd same version (2.3.11) on Linux.

    Thanks,

    Kevin

    ps - please don't tell me to use ssh - I already know the implications of
    remsh/rsh :)


  • Next message: Brian Raiter: "Re: Advancing from Unix Sysadmin to Programmer"