/proc/net/tcp, uid and euid

From: Christoffer Hall-Frederiksen (hall@diku.dk)
Date: Fri Jun 30 2000 - 18:49:53 EDT

  • Next message: Paul Barton-Davis: "Re: a joint letter on low latency and Linux"

    I ran into a little problem with ident the other day. Identd
    on my box returned wrong answers when lookup rlogin-connections.
    The connections were all made by root. If you use telnet the
    problem doesn't exist. The problem is that pidentd (and oidentd)
    looks up the uid of the tcp-connections in /proc/net/tcp. But
    the uid listed there is not the uid, but the euid. This makes
    the rlogin connections appear as if they came from root because
    rlogin is suid-root. Is there a reason why /proc/net/tcp lists
    the euid and not the uid?

    -- 
    	Christoffer
    

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Jun 30 2000 - 18:54:54 EDT