| Summary: | Busybox issue: utmp not getting updated on exit for telnet command | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Chandra <chandrak> |
| Component: | Other | Assignee: | unassigned |
| Status: | NEW --- | ||
| Severity: | minor | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Chandra
2011-06-27 15:33:41 UTC
Is telnet using libutil's logout() routine to clear the utmp entries? There is a limitation with the utmp routines (getutline, pututline) where the static buffer returned by getutline cannot be used as input into pututline since pututline reads the existing utmp entry into the static buffer before writing it. If openssh is compiled to use libutil's logout, it has the same problem. See bug #8306 I think it is fixed in 1.17, specifically by this coomit: commit 3a41611bc5ddeda6044e1f1e2956174b25389ce0 Author: Denys Vlasenko <vda.linux@googlemail.com> Date: Mon Apr 5 22:10:38 2010 +0200 telnetd: write LOGIN/DEAD_PROCESS utmp records. Closes bug 1363 |