Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, Reading about the logfiles in Linux, I found out that not all commands are logged in my pacct (/var/log/account/pacct) For instance, if I run and stop Wireshark and do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2012
    Posts
    3

    Question Not alle commands are logged in pacct logfile. Why?


    Hi,

    Reading about the logfiles in Linux, I found out that not all commands are logged in my pacct (/var/log/account/pacct)

    For instance, if I run and stop Wireshark and do after that

    # lastcomm | grep "wireshark"

    The wireshark command is logged as expected.

    Code:
    # lastcomm | grep "wireshark"
    wireshark            X user   pts/4      0.68 secs Sun Jul  1 18:55
    #
    But if i do the same with for instance Gedit, then i got nothing.

    Code:
    # lastcomm | grep "gedit"
    #
    What could be the reason for that?

    I looked already for quite a long time on the internet for answers but couldn't find them. And all the tutorials talk about the logging of ALL executed commands, not about any exceptions. So, I am a bit confused.

    UPDATE

    Till now, all the applications i tested where graphical applications of Gnome who are not logged, like:
    gedit, gthumb and evolution.

    Just a thought: Could the reason lie in the fact that those applications are part of some bigger 'application' that is still running?
    Last edited by suvois; 07-01-2012 at 08:44 PM.

  2. #2
    Just Joined!
    Join Date
    May 2012
    Posts
    3
    Still got not a single step further. (and appearently neither have you)

    I will keep you informed.

Posting Permissions

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