<?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: auditing the system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701713#M796850</link>
    <description>The /etc/rc.confid.d/auditing looks like this&lt;BR /&gt;AUDITING=0&lt;BR /&gt;PRI_AUDFILE=/.secure/etc/audfile1&lt;BR /&gt;PRI_SWITCH=1000&lt;BR /&gt;SEC_AUDFILE=/.secure/etc/audfile2&lt;BR /&gt;SEC_SWITCH=1000&lt;BR /&gt;AUDEVENT_ARGS1="-P -F -e moddac -e login -e admin"&lt;BR /&gt;AUDEVENT_ARGS2=""&lt;BR /&gt;AUDEVENT_ARGS3=""&lt;BR /&gt;AUDOMON_ARGS="-p 20 -t 1 -w 90"&lt;BR /&gt;&lt;BR /&gt;But audsys showing like&lt;BR /&gt;&lt;BR /&gt;auditing system is currently on&lt;BR /&gt;current file: /aud/audfile1&lt;BR /&gt;next    file: /aud/audfile2&lt;BR /&gt;statistics-     afs Kb  used Kb  avail %    fs Kb  used Kb  avail %&lt;BR /&gt;current file:     1000        0      100  2097152     1614      100&lt;BR /&gt;next    file:     1000        0      100  2097152     1614      100&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so what steps i have to take to update the /etc/rc.config.d/auditing and how restart the services so that it will take effect.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Venkat</description>
    <pubDate>Tue, 03 Jan 2006 14:54:44 GMT</pubDate>
    <dc:creator>Venkat_11</dc:creator>
    <dc:date>2006-01-03T14:54:44Z</dc:date>
    <item>
      <title>auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701710#M796847</link>
      <description>We have a server and we turn on auditing on that server.&lt;BR /&gt;And the output for audsys is as follows&lt;BR /&gt;&lt;BR /&gt;audsys&lt;BR /&gt;auditing system is currently on&lt;BR /&gt;current file: /aud/audfile1&lt;BR /&gt;next    file: /aud/audfile2&lt;BR /&gt;statistics-     afs Kb  used Kb  avail %    fs Kb  used Kb  avail %&lt;BR /&gt;current file:     1000        0      100  2097152     1614      100&lt;BR /&gt;next    file:     1000        0      100  2097152     1614      100&lt;BR /&gt;&lt;BR /&gt;But when i observed those particular files they  are 0 byte files. &lt;BR /&gt; ls -l&lt;BR /&gt;total 0&lt;BR /&gt;-rw-------   1 root       sys              0 Nov 10 18:43 audfile1&lt;BR /&gt;-rw-------   1 root       sys              0 Nov 10 18:43 audfile2&lt;BR /&gt;&lt;BR /&gt;Why these files are not getting update with auditrecords?&lt;BR /&gt;&lt;BR /&gt;FYI syslog.conf file is like this&lt;BR /&gt;&lt;BR /&gt;mail.debug              /var/adm/syslog/mail.log&lt;BR /&gt;*.info;mail.none;auth.none      /var/adm/syslog/syslog.log&lt;BR /&gt;*.alert                 /dev/console&lt;BR /&gt;*.alert                 root&lt;BR /&gt;*.emerg                 *&lt;BR /&gt;auth.info               /var/adm/syslog/auth.log&lt;BR /&gt;and auth.log file is filling with audit records.&lt;BR /&gt;&lt;BR /&gt;Does auth.info in syslog.conf taking the job of auditing. Can some body please explain me the difference between these two auditing  files.&lt;BR /&gt;&lt;BR /&gt;Thanks In Advance&lt;BR /&gt;&lt;BR /&gt;Venkat</description>
      <pubDate>Tue, 03 Jan 2006 14:24:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701710#M796847</guid>
      <dc:creator>Venkat_11</dc:creator>
      <dc:date>2006-01-03T14:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701711#M796848</link>
      <description>Hi Venkat,&lt;BR /&gt;&lt;BR /&gt;Normally the audit files are listed in /etc/rc.config.d/auditing  as follows:&lt;BR /&gt;&lt;BR /&gt;PRI_AUDFILE=/path/to/audfile1&lt;BR /&gt;SEC_AUDFILE=/path/to/audfile2&lt;BR /&gt;&lt;BR /&gt;Also you spell out the max filesizes with&lt;BR /&gt;&lt;BR /&gt;PRI_SWITCH=153600&lt;BR /&gt;SEC_SWITCH=153600&lt;BR /&gt;&lt;BR /&gt;And of course auditing has to be turned on with&lt;BR /&gt;&lt;BR /&gt;AUDITING=1&lt;BR /&gt;&lt;BR /&gt;And you can specify the event arguments with&lt;BR /&gt;&lt;BR /&gt;AUDEVENT_ARGS1=" 1st Args listed here"&lt;BR /&gt;AUDEVENT_ARGS2=" 2nd args listed here"&lt;BR /&gt;etc.....&lt;BR /&gt;&lt;BR /&gt;And the audomon args as well&lt;BR /&gt;&lt;BR /&gt;AUDOMON_ARGS=" Mon args here"&lt;BR /&gt;&lt;BR /&gt;You do *not* list audit.info *specifically* in syslog.conf.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 03 Jan 2006 14:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701711#M796848</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2006-01-03T14:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701712#M796849</link>
      <description>Shalom Venkat,&lt;BR /&gt;&lt;BR /&gt;Seems that auditing is merely disabled, as in not runing.&lt;BR /&gt;&lt;BR /&gt;The only thing you should ever see in syslog is when the log files switch, or if they fail to switch when one gets full.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 03 Jan 2006 14:42:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701712#M796849</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-03T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701713#M796850</link>
      <description>The /etc/rc.confid.d/auditing looks like this&lt;BR /&gt;AUDITING=0&lt;BR /&gt;PRI_AUDFILE=/.secure/etc/audfile1&lt;BR /&gt;PRI_SWITCH=1000&lt;BR /&gt;SEC_AUDFILE=/.secure/etc/audfile2&lt;BR /&gt;SEC_SWITCH=1000&lt;BR /&gt;AUDEVENT_ARGS1="-P -F -e moddac -e login -e admin"&lt;BR /&gt;AUDEVENT_ARGS2=""&lt;BR /&gt;AUDEVENT_ARGS3=""&lt;BR /&gt;AUDOMON_ARGS="-p 20 -t 1 -w 90"&lt;BR /&gt;&lt;BR /&gt;But audsys showing like&lt;BR /&gt;&lt;BR /&gt;auditing system is currently on&lt;BR /&gt;current file: /aud/audfile1&lt;BR /&gt;next    file: /aud/audfile2&lt;BR /&gt;statistics-     afs Kb  used Kb  avail %    fs Kb  used Kb  avail %&lt;BR /&gt;current file:     1000        0      100  2097152     1614      100&lt;BR /&gt;next    file:     1000        0      100  2097152     1614      100&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so what steps i have to take to update the /etc/rc.config.d/auditing and how restart the services so that it will take effect.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Venkat</description>
      <pubDate>Tue, 03 Jan 2006 14:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701713#M796850</guid>
      <dc:creator>Venkat_11</dc:creator>
      <dc:date>2006-01-03T14:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701714#M796851</link>
      <description>Just edit the file so AUDITING=1. To start auditing after that change, just run /sbin/init.d/auditing.&lt;BR /&gt;&lt;BR /&gt;However, you also will want to change the path for the second audit log. It's purpose is to switch if the first log can no longer be written to (file system fills up). If it's on the same file system as the first, you could have some major problems.&lt;BR /&gt;&lt;BR /&gt;In reality, you probably want to change both paths actually. Default is set to write to the root file system, which you certainly don't want to accidentally fill up with audit logs. Ideally, you probably want to create two new file systems that you can mount and use for the audit log locations.</description>
      <pubDate>Tue, 03 Jan 2006 15:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701714#M796851</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-01-03T15:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701715#M796852</link>
      <description>Oops... That should have said to run "/sbin/init.d/auditing start"</description>
      <pubDate>Tue, 03 Jan 2006 15:13:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701715#M796852</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-01-03T15:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701716#M796853</link>
      <description>Hi Jeff,&lt;BR /&gt;First of all i would like to say thanks for your quick and good responces.&lt;BR /&gt;&lt;BR /&gt;I set the auditing file like this&lt;BR /&gt;&lt;BR /&gt;AUDITING=1&lt;BR /&gt;PRI_AUDFILE=/aud/audfile1&lt;BR /&gt;PRI_SWITCH=995000&lt;BR /&gt;SEC_AUDFILE=/aud/audfile2&lt;BR /&gt;SEC_SWITCH=995000&lt;BR /&gt;AUDEVENT_ARGS1="-P -F -e moddac -e login -e admin"&lt;BR /&gt;AUDEVENT_ARGS2=""&lt;BR /&gt;AUDEVENT_ARGS3=""&lt;BR /&gt;AUDOMON_ARGS="-p 20 -t 1 -w 90"&lt;BR /&gt;"auditing" 75 lines, 3055 characters&lt;BR /&gt;&lt;BR /&gt;we have a FS /aud of 2gb. My question is what will happen when both the PRI and SEC get filled up..?&lt;BR /&gt;And what AUDEVENT_ARGS and AUDOMON_ARGS does and do i need to update them with any arguments?&lt;BR /&gt;&lt;BR /&gt;And do i need to remove &lt;BR /&gt;auth.info /var/adm/syslog/auth.log &lt;BR /&gt;from syslog.conf.&lt;BR /&gt;&lt;BR /&gt;Thanks  A lot for Answers&lt;BR /&gt;&lt;BR /&gt;Venkat&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2006 15:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701716#M796853</guid>
      <dc:creator>Venkat_11</dc:creator>
      <dc:date>2006-01-03T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701717#M796854</link>
      <description>As I understand it, having both audit files in the same file system can be very detrimental. If the first file fills to the point that the file system is full, there will be no way for the system to write to the second log file. This can apparently cause some processes to hang since they won't be able to write audit information.</description>
      <pubDate>Tue, 03 Jan 2006 15:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701717#M796854</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-01-03T15:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701718#M796855</link>
      <description>As for the other questions...&lt;BR /&gt;&lt;BR /&gt;I'm not sure about the ARGS settings. I haven't actually enabled auditing on any systems so haven't taken the time to read man pages for audevent and audmon. I'd recommend you read those before you make changes to the default arhuments provided.&lt;BR /&gt;&lt;BR /&gt;As for removing the auth.info line from syslog.conf, it's not necessary. It's nice at times to have your authentication syslog entries in a separate file where they are easily analyzed without having to wade through all the other stuff that typically gets written to syslog. Personally, I'd keep it the way you have it set up currently.</description>
      <pubDate>Tue, 03 Jan 2006 16:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701718#M796855</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-01-03T16:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701719#M796856</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Even both the log files are sitting under the same file system /aud, in the auditing file i mentioned &lt;BR /&gt;PRI_SWITCH=995000 that means it has to switch to secondary log gile once after the primary log reaches 970MB, where the total FS is 2GB in size.&lt;BR /&gt;&lt;BR /&gt;After all changes made to /etc/rc.config.d/auditing file when i tried to start the auditing services i am getitng the following error&lt;BR /&gt;&lt;BR /&gt; /sbin/init.d/auditing start&lt;BR /&gt;auditing system is already on, input arguments ignored&lt;BR /&gt;ERROR CODE 8&lt;BR /&gt;&lt;BR /&gt;I restarted the /sbin/init.d/auditing stop and start. After that i observed that /aud/audfile1 is updating with some stuff.&lt;BR /&gt;When i opened that file it showing up weird charaters like this&lt;BR /&gt;&lt;BR /&gt;^DM-^?M-^?M-^?M-^?M-^?M-^?M-^?M-^?CM-:M-gM-.&amp;gt;^P9^P ^?^?!M-^PCM-:M-gM-.&amp;gt;^Q$^C^\&amp;gt;^PM-^?M-^?M-^?M-^?M-^?M-^?&lt;BR /&gt;M-^?M-^?CM-:M-gM-.&amp;gt;^Q9^PM-^P^?^?!@CM-:M-gM-&lt;BR /&gt;&lt;BR /&gt;Can any body advice why it showing like this&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;&lt;BR /&gt;Venkat&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2006 16:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701719#M796856</guid>
      <dc:creator>Venkat_11</dc:creator>
      <dc:date>2006-01-03T16:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701720#M796857</link>
      <description>As long as nothing else is written to that file system, the size limit settings for the log files you specified should keep you out of trouble with auditing hanging any processes.&lt;BR /&gt;&lt;BR /&gt;The audit files are binary. Use audisp to query the logs.</description>
      <pubDate>Tue, 03 Jan 2006 16:17:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701720#M796857</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-01-03T16:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: auditing the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701721#M796858</link>
      <description>Hi Jeff,&lt;BR /&gt;I appreciate your help to make auditing work.&lt;BR /&gt;Thanks A Lot.&lt;BR /&gt;&lt;BR /&gt;When i say &lt;BR /&gt;#audisp audfile1  i am getting output like this.&lt;BR /&gt;&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;060103 14:58:16 13151 S     57   1100     -1          0          0          0          0 ?????&lt;BR /&gt;[ Event=utssys; User=????????; Real Grp=root; Eff.Grp=root;  ]&lt;BR /&gt;&lt;BR /&gt;     RETURN_VALUE 1 = 0;&lt;BR /&gt;     PARAM #1 (addr of char) = 2139037936&lt;BR /&gt;     PARAM #2 (int) = 0&lt;BR /&gt;     PARAM #3 (int) = 0&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;060103 14:58:16 13151 S     57   1100     -1          0          0          0          0 ?????&lt;BR /&gt;[ Event=utssys; User=????????; Real Grp=root; Eff.Grp=root;  ]&lt;BR /&gt;&lt;BR /&gt;     RETURN_VALUE 1 = 0;&lt;BR /&gt;     PARAM #1 (addr of char) = 1073769712&lt;BR /&gt;     PARAM #2 (int) = 64&lt;BR /&gt;     PARAM #3 (int) = 5&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&lt;BR /&gt;I didnt understand how to analise this output. WHy it showing up the user account as ?????? and what does rest of the values. Can i get any document to refer regarding this output.&lt;BR /&gt;&lt;BR /&gt;Thanks A Lot</description>
      <pubDate>Tue, 03 Jan 2006 17:44:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auditing-the-system/m-p/3701721#M796858</guid>
      <dc:creator>Venkat_11</dc:creator>
      <dc:date>2006-01-03T17:44:56Z</dc:date>
    </item>
  </channel>
</rss>

