Re: clearing wtmp

From: Dennis Smith (dennis.smith@CI.FT-WAYNE.IN.US)
Date: Fri May 02 2003 - 06:47:58 EDT


You could use nulladm

nulladm Command

Purpose

Creates active accounting data files.

Syntax

/usr/sbin/acct/nulladm [ File ... ]

Description

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
user with
administrative authority can use this command to set up the active
data files,
such as the /var/adm/wtmp file.

    Note: You should not share accounting files among nodes in a
distributed
    environment. Each node should have its own copy of the various
accounting
    files.

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.
>
>
>
> Thanks-
>
> Adam
>
>
>
>

Dennis M Smith
City Of Fort Wayne/ACS
1 Main Street, RM B16
Fort Wayne, In 46802
Fax 260-427-1394
Phone 260-427-2713
Email dennis.smith@ci.ft-wayne.in.us
IBM eserver Certified Specialist pSeries AIX System Administration



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:48 EDT