Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- bad audit flag
System Administration
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-08-2001 08:44 PM
05-08-2001 08:44 PM
bad audit flag
I recently had a problem where a user would attempt to log on and would get rejected with a message of 'bad audit flag'.
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.
I did notice that the problem user seemed to be missing a couple of lines from their TCB files. These lines being:
:u_auditid#516: :u_auditflag#1:
Does anyone know what causes this problem in the first instance?
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.
I did notice that the problem user seemed to be missing a couple of lines from their TCB files. These lines being:
:u_auditid#516: :u_auditflag#1:
Does anyone know what causes this problem in the first instance?
This space intentionally left blank.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-08-2001 09:49 PM
05-08-2001 09:49 PM
Re: bad audit flag
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.
The auditid's value should be the line number in the /etc/passwd file for the
user.
If this is a new user added via SAM. You might consider installing latest SAM patches.
According to ITRC knowledge database document id :
KBRC00004823
bad audit flag on trusted system
.....
RESOLUTION
Most likely this is a problem with the shadow file for this user. Please try
the following:
look at the shadow password file for the user and you should find that they are
missing some entries.
# cd /tcb/files/auth/
# vi users password file.
eg..
for user kmb
kmb:u_name=kmb:u_id#129: :u_pwd=2fPagvzbeTjuA: :u_auditid#39:
:u_auditflag#1: :u_pswduser=kmb:u_suclog#936124810:u_lock@:chkent
Notice the auditflag has a value of 1
The auditid's value should be the line number in the /etc/passwd file for the
user.
If the auditid or the auditflag lines are the problem then add
the :u_auditid#
and u_auditflag#1 to the users shadow password file.
The auditid's value should be the line number in the /etc/passwd file for the
user.
If this is a new user added via SAM. You might consider installing latest SAM patches.
According to ITRC knowledge database document id :
KBRC00004823
bad audit flag on trusted system
.....
RESOLUTION
Most likely this is a problem with the shadow file for this user. Please try
the following:
look at the shadow password file for the user and you should find that they are
missing some entries.
# cd /tcb/files/auth/
# vi users password file.
eg..
for user kmb
kmb:u_name=kmb:u_id#129: :u_pwd=2fPagvzbeTjuA: :u_auditid#39:
:u_auditflag#1: :u_pswduser=kmb:u_suclog#936124810:u_lock@:chkent
Notice the auditflag has a value of 1
The auditid's value should be the line number in the /etc/passwd file for the
user.
If the auditid or the auditflag lines are the problem then add
the :u_auditid#
and u_auditflag#1 to the users shadow password file.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP