SUMMARY-REDUX: User not showing up.....

From: Jon Hudson (jon.hudson_at_finisar.com)
Date: 04/17/04

  • Next message: John DiMarco: "Sun Managers Frequently Asked Questions (FAQ)"
    Date: Fri, 16 Apr 2004 16:08:27 -0700
    To: <sunmanagers@sunmanagers.org>
    
    

    So the original problem was that after logging into a server with
    openssh, the user would not show up using either "w" or "who". Only
    after waiting about 60sec would the user show up.

    Further investigation showed that it was /var/adm/utmpx that was not
    updating in a timely matter.

    What is somewhat interesting is that testing showed that telnet, would
    not actually let you log into until utmpx was updated, where openssh
    would just let you log in right away, allowing utmpx to take its time to
    update.

    The problem as it turned out what the ipaddr of the dns server in
    /etc/resolv.conf was incorrect. So any look-ups were failing after a
    timeout. After fixing this simple issue, the problem went away. Utmpx is
    now updating immediately and telnet logs in right away (or did before I
    shut it off again).

    While my initial issue is solved, I know why users were not showing up
    after log in, I am curious about what this has shown.

    I'm surprised that utmpx does not update till the lookup fails. I'm
    further surprised that telnet makes you wait till utmpx has been
    updated, but openssh does not. Thus leaving a window of time where a
    user is essentially invisible.

    So while the answer was simple, and I'm a bit embarrassed for not
    realizing this, the results are a bit odd.

    Once again thanks to

    Mark Cain
    Donald Mayers
    Darren Dunham
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: John DiMarco: "Sun Managers Frequently Asked Questions (FAQ)"

    Relevant Pages

    • Re: telnet vs Openssh
      ... Make a dialup connection to your server and check the differences, ... telnet is just fine. ... >>This may be why I am seeing a slow down in screen drawing with Openssh. ...
      (comp.unix.sco.misc)
    • Programmatic interface to ssh
      ... I'm modifying a program that previously used a telnet connection to ... communicate to a server. ... The program had control of input and output ... uses OpenSSL or OpenSSH libraries to achieve a command-line interface, ...
      (comp.security.ssh)
    • Re: ssh durch proxy
      ... Ja, der SSH Server erwartet einen SSH Client Handshake, kein Enter in ... einem Telnet. ... der ein generisches Proxy-command verwenden kann (z.B. OpenSSH). ...
      (de.comp.os.unix.networking.misc)
    • Announce: OpenSSH 4.2 released
      ... OpenSSH 4.2 has just been released. ... implementation and includes sftp client and server support. ...
      (SSH)
    • Re: GSSAPI SSH WIN 2003
      ... OpenSSH does not have this flexibility. ... server that does; it is one of the most long-standing inadequacies of most ... used publickey authentication, for the simple reasons that it's ... > group will get Service ticket for my HP-UX box. ...
      (comp.security.ssh)