HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to resolve duplicate user names on trusted sys...
Operating System - HP-UX
1834814
Members
2805
Online
110070
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
04-06-2004 01:03 AM
04-06-2004 01:03 AM
Here's my problem:
I have two entries in the passwd file that have the same login name but have different numerical user ids on a trusted system.
Example: User1:*:30:...
User1:*:31:...
I want to keep the user ids and rename the second login name. What do I need to do?
Unconverting back to an untrusted system is not an option right now.
I have two entries in the passwd file that have the same login name but have different numerical user ids on a trusted system.
Example: User1:*:30:...
User1:*:31:...
I want to keep the user ids and rename the second login name. What do I need to do?
Unconverting back to an untrusted system is not an option right now.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 01:12 AM
04-06-2004 01:12 AM
Re: How to resolve duplicate user names on trusted systems
I think unconvert, vipw and convert is best option here. Immediately after convert do /usr/lbin/modprpw -V to avoid password expiry.
You can also edit the files under /tcb/auth/files to do that, but I think the first option is better. Make sure you run authchk after you ar edone with this.
Anil
You can also edit the files under /tcb/auth/files to do that, but I think the first option is better. Make sure you run authchk after you ar edone with this.
Anil
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 02:32 AM
04-06-2004 02:32 AM
Solution
There are a couple of ways to do this. You can go into SAM, Users and Groups, Users then select the user you want to modify, then go to the Actions menu and select modify. This will allow you to modify whatever you want for this user.
You can also modify the /etc/passwd file and /tcb files directly.
To modify the files go into 'vipw' modify the appropriate user name. The go into the /tcb/files/auth/? directory (where ? is the first letter of the user name). You can then either 1) change the name of the file (mv User1 User2) or 2) if the first letter of the user name changes then do 'mv User1 ../T/TUser1'.
Now the problem I could see is that there may only be 1 file in the /tcb structure since the user name is the same. You should do an ll and make sure that there are no non-printable characters in the user name that may cause you problems.
You can also modify the /etc/passwd file and /tcb files directly.
To modify the files go into 'vipw' modify the appropriate user name. The go into the /tcb/files/auth/? directory (where ? is the first letter of the user name). You can then either 1) change the name of the file (mv User1 User2) or 2) if the first letter of the user name changes then do 'mv User1 ../T/TUser1'.
Now the problem I could see is that there may only be 1 file in the /tcb structure since the user name is the same. You should do an ll and make sure that there are no non-printable characters in the user name that may cause you problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 04:35 AM
04-06-2004 04:35 AM
Re: How to resolve duplicate user names on trusted systems
Patrick, thanks. Exactly what I was looking for. Wasn't sure working with the tcb files and passwd files was sufficiet.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP