Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.unix.aix Frequently Asked Questions (Part 1 of 5)
Section - 1.103: Cleaning up utmp, who, and accounting problems

( Part1 - Part2 - Part3 - Part4 - Part5 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Business Photos and Profiles ]


Top Document: comp.unix.aix Frequently Asked Questions (Part 1 of 5)
Previous Document: 1.102: How do I import an /etc/passwd or /etc/group file from another box?
Next Document: 1.104: How to fsck the root filesystem
See reader questions & answers on this topic! - Help others by sharing your knowledge
The best way to fix this problem is to fix the programs which are
causing the behavior in the first place.  The short answer is to call
software support and ask for the "UTMPFIX" collection of PTFs.

Virtually all of these problems should be fixed in the 3251 PMP and
the only one I've been able to prove is still broken is using ALT-F4
to close an aixterm.

This applies if you are running an X11R5 xterm on 3.2.
Add this to the top of X11R5 mit/clients/xterm/main.c:

#ifdef AIXV3
#define USE_SYSV_UTMP
#define HAS_UTMP_UT_HOST
#define WTMP_FILENAME "/var/adm/wtmp"
#endif

And your utmp problems should go away. If you want xterminal sessions
to go into the wtmp file you need to define -DWTMP in the Imakefile and
be sure the WTMP_FILENAME is set to the right place.

Section 8.02 contains a small C program that you can use until the
PTFs arrive.  The program must be run as root and will periodically
clean up old entries.

Another utmp program was posted to comp.sources.unix, volume 25, issue
96 by David W. Sanderson (dws@cs.wisc.edu) that also works on AIX 3.1.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: comp.unix.aix Frequently Asked Questions (Part 1 of 5)
Previous Document: 1.102: How do I import an /etc/passwd or /etc/group file from another box?
Next Document: 1.104: How to fsck the root filesystem

Part1 - Part2 - Part3 - Part4 - Part5 - Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
bofh@mail.teleweb.pt (Jose Pina Coelho)





Last Update March 27 2014 @ 02:11 PM