<?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 bad audit flag in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-audit-flag/m-p/2526208#M24384</link>
    <description>I recently had a problem where a user would attempt to log on and would get rejected with a message of 'bad audit flag'.&lt;BR /&gt;&lt;BR /&gt;The system is trusted, but auditing isn't turned on. I got around this problem by copying the TCB file of another user over the problem user and after adjusting the user name and id parameters, this fixed the problem.&lt;BR /&gt;&lt;BR /&gt;I did notice that the problem user seemed to be missing a couple of lines from their TCB files. These lines being:&lt;BR /&gt;   :u_auditid#516:   :u_auditflag#1:&lt;BR /&gt;Does anyone know what causes this problem in the first instance?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 09 May 2001 03:44:19 GMT</pubDate>
    <dc:creator>Ben_40</dc:creator>
    <dc:date>2001-05-09T03:44:19Z</dc:date>
    <item>
      <title>bad audit flag</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-audit-flag/m-p/2526208#M24384</link>
      <description>I recently had a problem where a user would attempt to log on and would get rejected with a message of 'bad audit flag'.&lt;BR /&gt;&lt;BR /&gt;The system is trusted, but auditing isn't turned on. I got around this problem by copying the TCB file of another user over the problem user and after adjusting the user name and id parameters, this fixed the problem.&lt;BR /&gt;&lt;BR /&gt;I did notice that the problem user seemed to be missing a couple of lines from their TCB files. These lines being:&lt;BR /&gt;   :u_auditid#516:   :u_auditflag#1:&lt;BR /&gt;Does anyone know what causes this problem in the first instance?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 May 2001 03:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-audit-flag/m-p/2526208#M24384</guid>
      <dc:creator>Ben_40</dc:creator>
      <dc:date>2001-05-09T03:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: bad audit flag</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-audit-flag/m-p/2526209#M24385</link>
      <description>Hi Ben, I am not sure why the fields were missing. But you mentioned you just copied the shadow password file from another user to the problem user password file. Please take note of the auditid needs to be change.&lt;BR /&gt;&lt;BR /&gt;The auditid's value should be the line number in the /etc/passwd file for the&lt;BR /&gt;user.&lt;BR /&gt;&lt;BR /&gt;If this is a new user added via SAM. You might consider installing latest SAM patches.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;According to ITRC knowledge database document id :&lt;BR /&gt;KBRC00004823               &lt;BR /&gt;bad audit flag on trusted system &lt;BR /&gt;&lt;BR /&gt;.....&lt;BR /&gt;RESOLUTION&lt;BR /&gt;&lt;BR /&gt;Most likely this is a problem with the shadow file for this user. Please try&lt;BR /&gt;the following:&lt;BR /&gt;&lt;BR /&gt;look at the shadow password file for the user and you should find that they are&lt;BR /&gt;missing some entries.&lt;BR /&gt;&lt;BR /&gt;# cd /tcb/files/auth/ &lt;BR /&gt;# vi users password file. &lt;BR /&gt;eg..&lt;BR /&gt;for user kmb&lt;BR /&gt;kmb:u_name=kmb:u_id#129:        :u_pwd=2fPagvzbeTjuA:        :u_auditid#39:&lt;BR /&gt;   :u_auditflag#1:        :u_pswduser=kmb:u_suclog#936124810:u_lock@:chkent&lt;BR /&gt;&lt;BR /&gt;Notice the auditflag has a value of 1 &lt;BR /&gt;The auditid's value should be the line number in the /etc/passwd file for the&lt;BR /&gt;user.&lt;BR /&gt;&lt;BR /&gt;If the auditid or the auditflag lines are the problem then add&lt;BR /&gt;the :u_auditid#&lt;BR /&gt;and u_auditflag#1 to the users shadow password file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 May 2001 04:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-audit-flag/m-p/2526209#M24385</guid>
      <dc:creator>Chin Guan</dc:creator>
      <dc:date>2001-05-09T04:49:39Z</dc:date>
    </item>
  </channel>
</rss>

