- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to create password entries in /etc/shadow file...
Operating System - HP-UX
1821638
Members
3130
Online
109633
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- Report Inappropriate Content
тАО08-26-2010 02:51 AM
тАО08-26-2010 02:51 AM
how to create password entries in /etc/shadow file from /etc/passwd file
Hi Guys,
Could you please help me with this.
We are freshly installing our HP rx4640 model server to move from HP-UX 11i V2 to HP-UX 11i V3.
After fresh installation, we will restore /etc/passwd file to retain all the old user accounts and
their passwords.In 11i V2,user accounts and their passwords are maintained in a single file /etc/passwd .
But,in V3 passwords are maintained in /etc/shadow file.So please let me know if there is any command
to create password entries for all the accounts in /etc/shadow file after upgrade.
Could you please help me with this.
We are freshly installing our HP rx4640 model server to move from HP-UX 11i V2 to HP-UX 11i V3.
After fresh installation, we will restore /etc/passwd file to retain all the old user accounts and
their passwords.In 11i V2,user accounts and their passwords are maintained in a single file /etc/passwd .
But,in V3 passwords are maintained in /etc/shadow file.So please let me know if there is any command
to create password entries for all the accounts in /etc/shadow file after upgrade.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2010 04:23 AM
тАО08-26-2010 04:23 AM
Re: how to create password entries in /etc/shadow file from /etc/passwd file
You don't need to use /etc/shadow if you want to keep what you have.
You might first want to restore /etc/passwd then convert.
You might first want to restore /etc/passwd then convert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2010 02:49 AM
тАО08-27-2010 02:49 AM
Re: how to create password entries in /etc/shadow file from /etc/passwd file
you don't necessarily need to convert /etc/passwd file to /etc/shadow.
However since /etc/passwd is used by different programs of unix it causes a security breach because of its permissions.
Hence we make use of /etc/shadow to ensure security of the passwd.
To convert /etc/passwd to /etc/shadow run the command pwconv ,
this will create the shadow file with the encrypted passwords.
to undo the changes you can run the command
pwunconv.
However since /etc/passwd is used by different programs of unix it causes a security breach because of its permissions.
Hence we make use of /etc/shadow to ensure security of the passwd.
To convert /etc/passwd to /etc/shadow run the command pwconv ,
this will create the shadow file with the encrypted passwords.
to undo the changes you can run the command
pwunconv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2010 09:50 PM
тАО08-30-2010 09:50 PM
Re: how to create password entries in /etc/shadow file from /etc/passwd file
After the Shadow Password product has been installed, the pwconv (1M)
command can be run to enable shadow passwords, and the pwunconv
(1M) command can be run to disable shadow passwords.
pwconv - installs and updates /etc/shadow with information from /etc/passwd
command can be run to enable shadow passwords, and the pwunconv
(1M) command can be run to disable shadow passwords.
pwconv - installs and updates /etc/shadow with information from /etc/passwd
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP