Messages in this thread | | | Subject | identd lookups broken after 2.2.10 upgrade | From | (Jason R. Mastaler) | Date | 20 Jul 1999 11:57:12 -0600 |
| |
We just upgraded a number of redhat-5.2 machines to kernel 2.2.10 from 2.2.5 and noticed that identd client username lookups no longer work as they should. In particular, for in.rshd, in.rlogind and sshd connections, the username returned is `root' regardless of who initiates the connection. For other services such as in.ftpd and in.telnetd however, lookups continue to report the correct username as they did before the upgrade to 2.2.10.
Does anyone know why this behavior might have changed with the kernel upgrade? We need to get things working as they did before.
Here is some syslog output illustrating the problem. All three of these commands were run from the `jason' account (not as root). As you can see, identd correctly looks up `jason' in the telnet example, but for the next two, the username returned is `root'. Under the 2.2.5 kernel, all three commands would have returned `jason' as the connecting user.
($ telnet localhost) Jul 20 11:38:34 rr identd[14853]: from: 127.0.0.1 ( localhost ) for: 2026, 23 Jul 20 11:38:34 rr identd[14853]: Successful lookup: 2026 , 23 : jason.systaff Jul 20 11:38:34 rr in.telnetd[14852]: refused connect from jason@localhost
($ rsh localhost) Jul 20 11:39:11 rr identd[14953]: from: 127.0.0.1 ( localhost ) for: 1021, 513 Jul 20 11:39:11 rr identd[14953]: Successful lookup: 1021 , 513 : root.root Jul 20 11:39:11 rr in.rlogind[14952]: refused connect from root@localhost
($ ssh localhost) Jul 20 11:39:49 rr identd[15072]: from: 127.0.0.1 ( localhost ) for: 1023, 22 Jul 20 11:39:49 rr identd[15072]: Successful lookup: 1023 , 22 : root.root Jul 20 11:39:49 rr sshd[15071]: connect from root@localhost Jul 20 11:39:49 rr sshd[15071]: log: Connection from 127.0.0.1 port 1023
- 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/
| |