Mailing List Archive

wtmp bug in OpenSSH
Hello,

I recently switched from SSH-1.2.27 to OpenSSH-1.2.2
and I found this bug:

OpenSSH-1.2.2 (SSH-1.5-OpenSSH-1.2.2) does not update the wtmp file.

Software: Linux/Unix port of OpenSSH version 1.2.2
OS: Linux Slackware 3.6 & 4.0 (x86)
Problem: When logging in/out via sshd there is no update to the wtmp file

--
Victor Meghesan
Re: wtmp bug in OpenSSH [ In reply to ]
On Thu, 2 Mar 2000, Victor Meghesan wrote:

>
> Hello,
>
> I recently switched from SSH-1.2.27 to OpenSSH-1.2.2
> and I found this bug:
>
> OpenSSH-1.2.2 (SSH-1.5-OpenSSH-1.2.2) does not update the wtmp file.
>
> Software: Linux/Unix port of OpenSSH version 1.2.2
> OS: Linux Slackware 3.6 & 4.0 (x86)
> Problem: When logging in/out via sshd there is no update to the wtmp
> file

There have been a few such reports with older Slackware, but I have
been unable to replicate the problem.

You might want to try Andre Lucas' liblogin, which is a clean path
through the morass of splatform-specific [uw]tmp options.

http://dspace.dial.pipex.com/andre.lucas/liblogin.html

-d

--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)