Re: HEADS UP: <utmp.h> gone. All welcome <utmpx.h>. [SEC=UNCLASSIFIED]

From: Wilkinson, Alex <alex.wilkinson_at_dsto.defence.gov.au>
Date: Thu, 14 Jan 2010 21:41:51 +0800
    0n Thu, Jan 14, 2010 at 03:36:56PM +0200, Andriy Gapon wrote: 

    >on 13/01/2010 21:42 Ed Schouten said the following:
    >> Hello everyone,
    >> 
    >> I just made various commits to FreeBSD HEAD to remove our old user
    >> accounting database interface (see utmp(5)) and replace it by the POSIX
    >> standardized utmpx interface (see getutxent(3)).
    >
    >Ed,
    >
    >please pardon my ignorance but will I have to do anything with utmp/wtmp/etc files
    >after upgrading my system to the new code?
    >Will lasr still correctly show logins that happened before the upgrade?

seems to still work:
[FreeBSD 9.0-CURRENT #0 r202270:]

   #last
   root      pts/5    :0                     Thu 14 Jan 20:20 - 20:20  (00:00)
   user      pts/3    hostname.dsto.defence. Thu 14 Jan 20:14   still logged in
   user      ttyv1                           Thu 14 Jan 12:40   still logged in
   boot time                                 Thu 14 Jan 12:40

  -Alex

IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914.  If you have received this email in error, you are requested to contact the sender and delete the email.
Received on Thu Jan 14 2010 - 12:43:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC