Re: clearing wtmp
From: Dennis Smith (dennis.smith_at_CI.FT-WAYNE.IN.US)
Date: Fri, 2 May 2003 10:47:58 -0000 To: aix-l@Princeton.EDU
You could use nulladm
Creates active accounting data files.
/usr/sbin/acct/nulladm [ File ... ]
The nulladm command creates the file specified by the File
parameter, gives read
(r) and write (w) permission to the file owner, and group and read (r)
permission to other users, and ensures that the file owner and
group are adm.
Various accounting shell procedures call the nulladm command. A
administrative authority can use this command to set up the active
such as the /var/adm/wtmp file.
Note: You should not share accounting files among nodes in a
environment. Each node should have its own copy of the various
On 2 May 2003 at 9:24, Adam Hanel wrote:
> What is the correct way to clear my entries in wtmp? I've got records in
> there from 4 years ago.
Dennis M Smith
City Of Fort Wayne/ACS
1 Main Street, RM B16
Fort Wayne, In 46802
IBM eserver Certified Specialist pSeries AIX System Administration