<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: help me configure auditd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/help-me-configure-auditd/m-p/4239061#M33251</link>
    <description>You must not add a watch for directories, please see man auditctl:&lt;BR /&gt;&lt;BR /&gt;The way that watches work is by  tracking  the inode  internally.  This  means  that  if  you put a watch on a directory, you will see what appears to be file events, but  it is  really just the updating of meta data. You might miss a few events by doing this. If you need  to  watch  all  files  in  a directory, its recommended to place an individual watch on each file.</description>
    <pubDate>Wed, 23 Jul 2008 13:21:03 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2008-07-23T13:21:03Z</dc:date>
    <item>
      <title>help me configure auditd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-me-configure-auditd/m-p/4239060#M33250</link>
      <description>I want to audit all the read/write operations in /tmp, I did the following&lt;BR /&gt;# cat /etc/auditd.rules&lt;BR /&gt;-D&lt;BR /&gt;-b 256&lt;BR /&gt;-e 1&lt;BR /&gt;-w /tmp -p rwx -k CFG_tmp&lt;BR /&gt;&lt;BR /&gt;# chkconfig auditd on&lt;BR /&gt;# rcauditd on&lt;BR /&gt;&lt;BR /&gt;Now I login as user "faisal", just create a file and delete that file under /tmp&lt;BR /&gt;$ cd /tmp&lt;BR /&gt;$ touch new.txt&lt;BR /&gt;$ rm new.txt&lt;BR /&gt;&lt;BR /&gt;then run the following command..its a very massive/verbose/detailed ouptut... I dont want all those details withing &lt;USELESS&gt;  ... all of them are useless for me&lt;BR /&gt;&lt;BR /&gt;please help me configure the audit deamon as i want ;) I am more concern about the more than required information because it means that audit deamon is doing more work than I want .. so please help me configuring the deamon properly.&lt;BR /&gt;&lt;BR /&gt;# ausearch -k CFG_tmp -i&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:41:37.578:1466) : item=1 name=new.txt inode=205172 dev=08:06 mode=file,644 ouid=faisal ogid=users rdev=00:00&lt;BR /&gt;&lt;USELESS&gt;type=PATH msg=audit(07/23/08 17:41:37.578:1466) : item=0 name=/tmp inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;/USELESS&gt;&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:41:37.578:1466) : cwd=/tmp&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:41:37.578:1466) : arch=x86_64 syscall=open success=yes exit=0 a0=7fff00e4e52c a1=941 a2=1b6 a3=0 items=2 ppid=23629 pid=23662 auid=unknown(4294967295) uid=faisal gid=users euid=faisal suid=faisal fsuid=faisal egid=users sgid=users fsgid=users tty=tty2 comm=touch exe=/bin/touch key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:41:40.778:1467) : item=1 name=new.txt inode=205172 dev=08:06 mode=file,644 ouid=faisal ogid=users rdev=00:00&lt;BR /&gt;&lt;USELESS&gt;type=PATH msg=audit(07/23/08 17:41:40.778:1467) : item=0 name=/tmp inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;/USELESS&gt;&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:41:40.778:1467) : cwd=/tmp&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:41:40.778:1467) : arch=x86_64 syscall=unlink success=yes exit=0 a0=7fffafba653a a1=2 a2=2 a3=0 items=2 ppid=23629 pid=23664 auid=unknown(4294967295) uid=faisal gid=users euid=faisal suid=faisal fsuid=faisal egid=users sgid=users fsgid=users tty=tty2 comm=rm exe=/bin/rm key="CFG_tmp"&lt;BR /&gt;&lt;BR /&gt;&lt;USELESS&gt; starts all the useless stuff till end ...&lt;BR /&gt;&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:45:49.801:1470) : item=1 name=/tmp/sv94.tmp inode=205821 dev=08:06 mode=dir,755 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:45:49.801:1470) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:45:49.801:1470) : cwd=/root&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:45:49.801:1470) : arch=i386 syscall=rmdir per=400000 success=yes exit=0 a0=ffb6384c a1=f6d1a158 a2=f756c5d0 a3=0 items=2 ppid=1 pid=23132 auid=unknown(4294967295) uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) comm=soffice.bin exe=/usr/lib/ooo-2.0/program/soffice.bin key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:45:49.865:1471) : item=1 name=/tmp/OSL_PIPE_0_SingleOfficeIPC_6474b982b398a01e2cba5b2 c351464e inode=205779 dev=08:06 mode=socket,755 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:45:49.865:1471) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:45:49.865:1471) : cwd=/root&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:45:49.865:1471) : arch=i386 syscall=unlink per=400000 success=yes exit=0 a0=8154e24 a1=2 a2=f756c5d0 a3=8154e20 items=2 ppid=1 pid=23132 auid=unknown(4294967295) uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) comm=soffice.bin exe=/usr/lib/ooo-2.0/program/soffice.bin key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:48:55.397:1472) : item=1 name=/tmp/nroff.p23814 inode=205822 dev=08:06 mode=dir,700 ouid=man ogid=man rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:48:55.397:1472) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:48:55.397:1472) : cwd=/usr/share/man&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:48:55.397:1472) : arch=x86_64 syscall=mkdir success=yes exit=0 a0=502010 a1=1c0 a2=0 a3=0 items=2 ppid=23808 pid=23814 auid=unknown(4294967295) uid=man gid=man euid=man suid=man fsuid=man egid=man sgid=man fsgid=man tty=pts0 comm=mktemp exe=/bin/mktemp key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:48:55.501:1473) : item=1 name=/tmp/nroff.p23814 inode=205822 dev=08:06 mode=dir,700 ouid=man ogid=man rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:48:55.501:1473) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:48:55.501:1473) : cwd=/usr/share/man&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:48:55.501:1473) : arch=x86_64 syscall=unlink success=no exit=-21(Is a directory) a0=7fffcb6dde0a a1=7fffcb6dde0a a2=2 a3=0 items=2 ppid=23804 pid=23808 auid=unknown(4294967295) uid=man gid=man euid=man suid=man fsuid=man egid=man sgid=man fsgid=man tty=pts0 comm=rm exe=/bin/rm key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:48:55.501:1474) : item=1 name=/tmp/nroff.p23814 inode=205822 dev=08:06 mode=dir,700 ouid=man ogid=man rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:48:55.501:1474) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:48:55.501:1474) : cwd=/usr/share/man&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:48:55.501:1474) : arch=x86_64 syscall=rmdir success=yes exit=0 a0=50e8c0 a1=50e8c0 a2=2 a3=0 items=2 ppid=23804 pid=23808 auid=unknown(4294967295) uid=man gid=man euid=man suid=man fsuid=man egid=man sgid=man fsgid=man tty=pts0 comm=rm exe=/bin/rm key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:49:34.925:1475) : item=1 name=/tmp/nroff.w23845 inode=205822 dev=08:06 mode=dir,700 ouid=man ogid=man rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:49:34.925:1475) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:49:34.925:1475) : cwd=/usr/share/man&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:49:34.925:1475) : arch=x86_64 syscall=mkdir success=yes exit=0 a0=502010 a1=1c0 a2=0 a3=0 items=2 ppid=23839 pid=23845 auid=unknown(4294967295) uid=man gid=man euid=man suid=man fsuid=man egid=man sgid=man fsgid=man tty=pts0 comm=mktemp exe=/bin/mktemp key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:49:35.013:1476) : item=1 name=/tmp/nroff.w23845 inode=205822 dev=08:06 mode=dir,700 ouid=man ogid=man rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:49:35.013:1476) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:49:35.013:1476) : cwd=/usr/share/man&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:49:35.013:1476) : arch=x86_64 syscall=unlink success=no exit=-21(Is a directory) a0=7fffeb274e0a a1=7fffeb274e0a a2=2 a3=0 items=2 ppid=23835 pid=23839 auid=unknown(4294967295) uid=man gid=man euid=man suid=man fsuid=man egid=man sgid=man fsgid=man tty=pts0 comm=rm exe=/bin/rm key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:49:35.017:1477) : item=1 name=/tmp/nroff.w23845 inode=205822 dev=08:06 mode=dir,700 ouid=man ogid=man rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:49:35.017:1477) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:49:35.017:1477) : cwd=/usr/share/man&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:49:35.017:1477) : arch=x86_64 syscall=rmdir success=yes exit=0 a0=50e8c0 a1=50e8c0 a2=2 a3=0 items=2 ppid=23835 pid=23839 auid=unknown(4294967295) uid=man gid=man euid=man suid=man fsuid=man egid=man sgid=man fsgid=man tty=pts0 comm=rm exe=/bin/rm key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:50:21.412:1478) : item=1 name=/tmp/nroff.d23884 inode=205822 dev=08:06 mode=dir,700 ouid=man ogid=man rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:50:21.412:1478) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:50:21.412:1478) : cwd=/usr/share/man&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:50:21.412:1478) : arch=x86_64 syscall=mkdir success=yes exit=0 a0=502010 a1=1c0 a2=0 a3=0 items=2 ppid=23878 pid=23884 auid=unknown(4294967295) uid=man gid=man euid=man suid=man fsuid=man egid=man sgid=man fsgid=man tty=pts0 comm=mktemp exe=/bin/mktemp key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:50:21.504:1479) : item=1 name=/tmp/nroff.d23884 inode=205822 dev=08:06 mode=dir,700 ouid=man ogid=man rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:50:21.504:1479) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:50:21.504:1479) : cwd=/usr/share/man&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:50:21.504:1479) : arch=x86_64 syscall=unlink success=no exit=-21(Is a directory) a0=7fff4a099e0a a1=7fff4a099e0a a2=2 a3=0 items=2 ppid=23874 pid=23878 auid=unknown(4294967295) uid=man gid=man euid=man suid=man fsuid=man egid=man sgid=man fsgid=man tty=pts0 comm=rm exe=/bin/rm key="CFG_tmp"&lt;BR /&gt;----&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:50:21.508:1480) : item=1 name=/tmp/nroff.d23884 inode=205822 dev=08:06 mode=dir,700 ouid=man ogid=man rdev=00:00&lt;BR /&gt;type=PATH msg=audit(07/23/08 17:50:21.508:1480) : item=0 name=/tmp/ inode=3563 dev=08:06 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00&lt;BR /&gt;type=CWD msg=audit(07/23/08 17:50:21.508:1480) : cwd=/usr/share/man&lt;BR /&gt;type=SYSCALL msg=audit(07/23/08 17:50:21.508:1480) : arch=x86_64 syscall=rmdir success=yes exit=0 a0=50e8c0 a1=50e8c0 a2=2 a3=0 items=2 ppid=23874 pid=23878 auid=unknown(4294967295) uid=man gid=man euid=man suid=man fsuid=man egid=man sgid=man fsgid=man tty=pts0 comm=rm exe=/bin/rm key="CFG_tmp"&lt;BR /&gt;&lt;/USELESS&gt;&lt;/USELESS&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-me-configure-auditd/m-p/4239060#M33250</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-07-23T11:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: help me configure auditd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-me-configure-auditd/m-p/4239061#M33251</link>
      <description>You must not add a watch for directories, please see man auditctl:&lt;BR /&gt;&lt;BR /&gt;The way that watches work is by  tracking  the inode  internally.  This  means  that  if  you put a watch on a directory, you will see what appears to be file events, but  it is  really just the updating of meta data. You might miss a few events by doing this. If you need  to  watch  all  files  in  a directory, its recommended to place an individual watch on each file.</description>
      <pubDate>Wed, 23 Jul 2008 13:21:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-me-configure-auditd/m-p/4239061#M33251</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-07-23T13:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: help me configure auditd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-me-configure-auditd/m-p/4239062#M33252</link>
      <description>Thanks Dear Ivan for help.&lt;BR /&gt;&lt;BR /&gt;Ok&lt;BR /&gt;&lt;BR /&gt;infect I have to check who has access what other then their own home directory within the /home.... i.e .. if a user "john" access an object(file) other than /home/john.. the information will be logged.&lt;BR /&gt;&lt;BR /&gt;we just want to monitor activities within the /home.&lt;BR /&gt;&lt;BR /&gt;is it possible ?</description>
      <pubDate>Fri, 25 Jul 2008 02:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-me-configure-auditd/m-p/4239062#M33252</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-07-25T02:55:55Z</dc:date>
    </item>
  </channel>
</rss>

