- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: no /etc/shadow file
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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-09-2008 02:33 AM
01-09-2008 02:33 AM
no /etc/shadow file
pertaining to the same issue.our system is a trusted one and some1 had deleted the shadow file.we were able to login in to the server but we were not able to reset/set password.
why is that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 02:54 AM
01-09-2008 02:54 AM
Re: no /etc/shadow file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 03:21 AM
01-09-2008 03:21 AM
Re: no /etc/shadow file
# pwconv
Updating the tcb to match /etc/passwd, if needed.
The system cannot be converted while shadow passwords are in use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 03:27 AM
01-09-2008 03:27 AM
Re: no /etc/shadow file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 03:37 AM
01-09-2008 03:37 AM
Re: no /etc/shadow file
you can make it again by using
#pwconv
command but if it is not working then see that patch is there ,which supports this (#pwconv) command to run.
if that patch was not there then pwconv won't run.
And the reason why u were not able to set/reset the password at o.s. level might be the file permissions of /etc/passwd file or same password might be in use at that time by some other person.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 03:48 AM
01-09-2008 03:48 AM
Re: no /etc/shadow file
#cat >> /etc/shadow
and then run
#pwconv
bcoz pwconv simply copies content of /etc/pasawd into /etc/shadow .
I hope it will help u...
bye
MAK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 03:50 AM
01-09-2008 03:50 AM
Re: no /etc/shadow file
#cd /etc
#cat >> shadow
and then run
#pwconv
bcoz pwconv simply copies content of /etc/pasawd into /etc/shadow .
I hope it will help u...
bye
MAK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2008 05:22 AM
01-09-2008 05:22 AM
Re: no /etc/shadow file
There is no need to create shadow file with cat.
because man page says:
The pwconv command without options does the following:
Creates the file /etc/shadow if it does not exist; otherwise, it removes all entries for usernames which are not present in /etc/passwd.
DareDevil,
as suggested above pmconv is the only option other than recovering file from backup copy. You can try this command under test mode like:
#pmconv -t
It will only print error but wont modify any file. For more details rad man page.
Best Luck.