[Bug 1363] New: telnetd does not write utmp/wtmp log out records

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 18 23:41:11 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=1363

           Summary: telnetd does not write utmp/wtmp log out records
           Product: Busybox
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: stephen.hemminger at vyatta.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


The telnetd daemon needs to write utmp and wtmp records when user logs out.
There is no code to do this in the current daemon.
The impact of this is that if user logs in over telnet, (and logs out),
she can't be deleted (because userdel looks at utmp records).
Writing correct utmp/wtmp helps with overall accounting.


The functions logout() and logwtmp() provide the necessary hooks, but
they are under -lutil in glibc.


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list