- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to change a UID
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
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
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-15-2011 11:41 AM
08-15-2011 11:41 AM
Hello,
I'm in the process of moving an application from an old HP server to a new one. After transferring most of the settings i've discovered that there is a new system process, sfmdb, that has been assigned the same user ID (103) as a process we use in our application to control file importing.
What's the best way to go about changing the UID of one or the other of these "users:? Thanks so much!
John H.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2011 11:52 AM - edited 08-15-2011 11:54 AM
08-15-2011 11:52 AM - edited 08-15-2011 11:54 AM
SolutionHow many of your users are <= 1023?
You'll need to get new unused numbers. Then do a find -exec chown to change the ownership of all of the files owned by those users.
A good starting place would be the current home directories and search & change each. You may not care about searching elsewhere?
If you have only one user:
find / -name old-user-name -exec chown new-user-name {} +
If you have many, you should do the massive search once:
find / \( -name old-user-name1 -o -name old-user-name2 ... \) -exec ll -d {} + > file_list.out
Then write a script to do chown on each user's files in file_list.out
Do you use ACLs for these users?