HP-UX 11i Version 2 Release Notes (October 2003)
Internet and Networking
IPv6 Support
Chapter 6
156
login, and Common Desktop Environment applications) now log user-accounting
information to the in-memory database maintained by utmpd. In addition, HP-UX
commands that formerly had interaction with the old /etc/utmpx database have now
been modified to use the new in-memory user-accounting database of the utmpd daemon.
The utmpd daemon does a two-way synchronization between the old /etc/utmpx
database and its own database; that is, it synchronizes any entries that are added or
updated in the /etc/utmpx file to its in-memory database and vice versa. The database
accommodates for any increase in size of the members of the various fields of the utmps
structure.
In the case of the wtmp and btmp files, there were no interfaces provided for applications
to read the databases or to update the databases. These databases contain utmp-like
records and have the scalability issues as described above.
The new solution provides a new shared library, namely libuseracct, which provides
interfaces in which the feature scalability issues of the old wtmp and btmp databases are
addressed. These databases have been designed to take care of future extensions to
utmps structure. Also, a set of new bwtmps interfaces have been provided for reading
from these databases and updating these databases.
The manpages of the new APIs and the daemon have the complete information about the
product.
Changes to HP-UX Commands To support IPv6 in HP-UX 11i v2, the following
HP-UX commands, which formerly accessed/modified the old utmpx, wtmp, and btmp
files, have now been modified to access/update the new in-memory utmps database, as
well as the wtmps and btmps databases:
• /usr/sbin/reboot
• /sbin/reboot
• /usr/sbin/shutdown
• /sbin/shutdown
• /usr/bin/write
• /usr/sbin/wall
• /usr/bin/tsm
• /usr/bin/uptime
• /usr/sbin/getty
• /sbin/init
• /usr/sbin/ptydaemon
• /usr/bin/users
• /usr/sbin/acct/acctcon
• /usr/sbin/acct/acctcon1
• /usr/sbin/acct/closewtmp
• /usr/sbin/acct/utmp2wtmp
• /usr/sbin/acct/fwtmp
• /usr/sbin/acct/wtmpfix
• /usr/bin/last
• /usr/sbin/acct/runacct
• /usr/bin/finger
• /usr/bin/who
• /usr/sbin/syslogd
• /usr/sbin/uucpd
New options have been added to the following commands: