- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Inconsistency between /etc/passwd and /etc/shadow ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Report Inappropriate Content
тАО01-21-2010 11:19 AM
тАО01-21-2010 11:19 AM
Inconsistency between /etc/passwd and /etc/shadow file.
server1:root# passwd user1
Invalid login name.
The error message we seeing on SAM when we tried accessing user account.
"There is an inconsistency between the file "/etc/passwd" and the file /etc/shadow". Login "xxx(user id)" has no corresponding entry in the file "/etc/shadow". This can be corrected by running "pwconv(1M)" command Re-enter Users subarea after correcting this problem."
And here are the additional details from the server. We notice a difference of 4 accounts between /etc/passwd and /etc/shadow.
server1:root# swlist -l fileset | grep -i shadow
# PHCO_27035 1.0 shadow.h cumulative patch
# ShadowPW B.11.11.03 HP-UX 11.11 Shadow Password Enablement Product
ShadowPW.SHADOW B.11.11.03 Shadow Password Enablement
ShadowPW.SHADOW-MAN B.11.11.03 Shadow Password Enablement Man Pages
server1:root# more /etc/passwd | wc -l
5352
server1:root# more /etc/shadow | wc -l
5356
How can i fix the inconsistency between these two files...??If i run pwconv does it require reboot?? because when i ran pwconv with out reboot it caused more damage as it didn't allowed any of the users to login to the sever....and i had to fix by restoring the backup files...
Please Advice...Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 11:30 AM
тАО01-21-2010 11:30 AM
Re: Inconsistency between /etc/passwd and /etc/shadow file.
Do you have PHCO_36562 installed? This SAM patch has some fixes for the shadow password feature.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 11:42 AM
тАО01-21-2010 11:42 AM
Re: Inconsistency between /etc/passwd and /etc/shadow file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 12:09 PM
тАО01-21-2010 12:09 PM
Re: Inconsistency between /etc/passwd and /etc/shadow file.
Sanity Check:
pwck
Does it show problems?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 12:12 PM
тАО01-21-2010 12:12 PM
Re: Inconsistency between /etc/passwd and /etc/shadow file.
It is recommended to do a 'pwck' on your legacy '/etc/passwd' file *before* conversion. Did you do that/
You can also run 'pwconv' in a preview (test) mode:
# pwconv -t
Did you try that?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 12:28 PM
тАО01-21-2010 12:28 PM
Re: Inconsistency between /etc/passwd and /etc/shadow file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 12:38 PM
тАО01-21-2010 12:38 PM
Re: Inconsistency between /etc/passwd and /etc/shadow file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 02:03 PM
тАО01-21-2010 02:03 PM