Re: clearing wtmp

From: Dennis Smith (dennis.smith_at_CI.FT-WAYNE.IN.US)
Date: 05/02/03

  • Next message: John Jolet: "Re: Adding Addl Disk to Volume Group"
    Date:         Fri, 2 May 2003 10:47:58 -0000
    To: aix-l@Princeton.EDU
    
    

    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


  • Next message: John Jolet: "Re: Adding Addl Disk to Volume Group"