- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ShadowPassword issue
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
Forums
Discussions
Discussions
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
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
08-16-2007 01:49 AM
08-16-2007 01:49 AM
I have here a situation that I need help to clarify...
I have a machine that gives this error when I try to access Users area in SAM:
There is an inconsistency between the file "/etc/passwd" and the file "/etc/shadow". Login "daemon" 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.
I then ran the pwconv command and get te following error:
The system cannot be converted to use shadow passwords until the ShadowPassword product is installed.
I thought I could install the ShadowCopy sw and try againn but requires reboot and it's not possible now.
I also realized that I've changed the root password and now I can't login even though I got the "password sucessufully changed" message...I think the problems are related but I'm totally sure.
I can access the machine only through one other that had ssh keys generated and copied somewhere in time.
I've also tried pwunconv but...
sh: pwunconv: not found.
So...what should I do with this mess?
Thanks in advance
Valente
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 02:17 AM
08-16-2007 02:17 AM
Re: ShadowPassword issue
You don't have the ShadowPassword product installed right?
Confirm with "swlist -l product | grep -i shadow"
Try cat'ing both /etc/passwd and /etc/shadow and check that the number of lines/entries match "cat /etc/passwd | wc -l; cat /etc/shadow | wc -l"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 03:00 AM
08-16-2007 03:00 AM
SolutionFirst be sure that the shadow password fileset is not installed and the /etc/passwd file contains the encrypted passwd entry.
# swlist -l fileset ShadowPW.SHADOW
# cat /etc/passwd
If you are sure.
# mv /etc/shadow /etc/old.shadow
abd try resseting the root passwd.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 03:10 AM
08-16-2007 03:10 AM
Re: ShadowPassword issue
Login "daemon" has no corresponding entry in the file "/etc/shadow"
I don't think this is a very big problem. The user daemon is not supposed to log on anyway.
However the fact the system does not recognize that shadowpasswords is installed is more serious.
I recommend finding it and running swremove on it. I see a good method for finding it in a previous post.
After that, reinstall, assuring you have run md5 checkum against the depot and matching it to http://software.hp.com md5 checksum.
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
08-16-2007 03:22 AM
08-16-2007 03:22 AM
Re: ShadowPassword issue
Since you do not have shadow password product installed
See
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?
productNumber=ShadowPassword or search for "shadow password" on
www.software.hp.com for more information on the Shadow Passwords product,
#mv /etc/shadow /tmp
this should fix the issue
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 03:44 AM
08-16-2007 03:44 AM
Re: ShadowPassword issue
I am definitely not having a good day...
I removed the /etc/shadow file and it worked, as logic tells us. The thing is I thought I had tried it before, but I made a cp instead of a mv ...so I went to check it out and I still had the original file there...
More...
I don't have the ShadowPassword instaled and now I ain't going to install it anymore. Still I already had the depot ready in the machine..
I had root access because of the ssh keys...
(I hope I had replied to all your kind questions). I will assign points.
Thanks,
R