Ed Schouten
2010-Jan-13 21:04 UTC
[Patch] Make OpenSSH work with FreeBSD's utmpx implementation
Hello all, The next version of FreeBSD will use utmpx for its user accounting database, as opposed to utmp which is used right now. Unfortunately wtmpx and lastlog handling isn't standardized at all, which is why we took the liberty to integrate all these databases into a compact API, where setutxdb() can be used to switch to a different database and getutxuser() to search for a USER_PROCESS matching a certain user. In addition, we don't define UTMPX_FILE, because we don't want to allow applications to interact with the database files directly. This definition seems to be required by OpenSSH, even though it is not used in a sensible way. The attached patch makes OpenSSH from CVS build on FreeBSD HEAD again. It would be nice if it could be incorporated into the next version. Greetings, -- Ed Schouten <ed at 80386.nl> WWW: http://80386.nl/ -------------- next part -------------- A non-text attachment was scrubbed... Name: openssh.diff Type: text/x-diff Size: 4407 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100113/87b83aec/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100113/87b83aec/attachment-0001.bin>
Ed Schouten
2010-Mar-06 09:11 UTC
[Patch] Make OpenSSH work with FreeBSD's utmpx implementation
Hello all, * Ed Schouten <ed at 80386.nl> wrote:> The next version of FreeBSD will use utmpx for its user accounting > database, as opposed to utmp which is used right now. > > <snip> > > The attached patch makes OpenSSH from CVS build on FreeBSD HEAD again. > It would be nice if it could be incorporated into the next version.I sent this patch some time ago but I never got a response and it doesn't seem to be committed to CVS. Is there any chance it could get integrated into the nearby future? -- Ed Schouten <ed at 80386.nl> WWW: http://80386.nl/ -------------- next part -------------- A non-text attachment was scrubbed... Name: openssh.diff Type: text/x-diff Size: 4407 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100306/a4f75c02/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100306/a4f75c02/attachment-0001.bin>