- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/passwd file migration
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
тАО06-04-2004 07:46 AM
тАО06-04-2004 07:46 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 07:49 AM
тАО06-04-2004 07:49 AM
Re: /etc/passwd file migration
use vipw and save the file. The passwords should be reencrypted and then try to login.
hth,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 07:58 AM
тАО06-04-2004 07:58 AM
SolutionActually it should have worked unless the old system was trusted where the encrypted passwords would be stored under /tcb/files/auth directory. You will need to copy those files too.
One more thing to check is to make sure there are no duplicate entries for logins. To verify try
#pwck
#grpck
and note the errors.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 07:59 AM
тАО06-04-2004 07:59 AM
Re: /etc/passwd file migration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 08:00 AM
тАО06-04-2004 08:00 AM
Re: /etc/passwd file migration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 08:01 AM
тАО06-04-2004 08:01 AM
Re: /etc/passwd file migration
Yes. It looks like 10.20 was a trusted system. You would need to untrust it to get back the encrypted passwords into /etc/passwd file. Take a copy of /tcb directory on it and then run
#/usr/lbin/tsconvert -r
Now capture the password entries for all the users that you want to migrate and then append them to your new system.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 08:02 AM
тАО06-04-2004 08:02 AM
Re: /etc/passwd file migration
Your old system is trusted. Go ahead as suggested by Shridhar.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 08:05 AM
тАО06-04-2004 08:05 AM
Re: /etc/passwd file migration
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 08:12 AM
тАО06-04-2004 08:12 AM
Re: /etc/passwd file migration
Just so you understand, Ted (and anyone else who might not realize it)... When a system is converted to a trusted system, the encrypted password field in /etc/passwd is "locked" with the *... trusted authentication doesn't use the entry, but, when moved to a non-trusted system, this will never allow a login. It's a common method of disabling accounts and is the method utilized by HP for some of the system accounts that are locked by default.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 08:14 AM
тАО06-04-2004 08:14 AM