Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: Reg lastcomm

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Reg lastcomm

    Hi everybody,

    I enabled the lastcomm like this

    # accton /var/log/acct

    after that, if I run the following commands i am not getting any response.

    # lastcomm
    # lastcomm --user root
    # lastcomm --strict-match a.out root tty0

    Please help me how to enable the database of lastcomm command and usage of lastcomm.

    Thanks Inadvance,

  2. #2



    you should run the lastcomm cmd stated below:

    accton /var/account/pacct
    then run the lastcomm cmd:

    lastcomm --tty tty1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts