HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: Going to new server, need to change some UIDs
 
Operating System - HP-UX
        1840133
        Members
    
    
        2059
        Online
    
    
        110161
        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
 
09-30-2009 08:07 AM
09-30-2009 08:07 AM
			
				
					
					
						We are moving to an rx3600 Integrity server soon and a number of the UIDs on our old HP9000 are reserved numbers on the new machine.
I have found conflicting information as to whether or not the UIDs need to match on both machines before we copy files over. One such bit of info was to use 'tar' instead of 'rcp' to move files over as it will try to match on name and if successful will use the UID on the target machine.
Is this true and is it the best solution? If not (on either count), I would appreciate some suggestions as to how best approach this problem.
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
I have found conflicting information as to whether or not the UIDs need to match on both machines before we copy files over. One such bit of info was to use 'tar' instead of 'rcp' to move files over as it will try to match on name and if successful will use the UID on the target machine.
Is this true and is it the best solution? If not (on either count), I would appreciate some suggestions as to how best approach this problem.
Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-30-2009 08:12 AM
09-30-2009 08:12 AM
Solution
			
				
					
					
						Hi Pat:
> One such bit of info was to use 'tar' instead of 'rcp' to move files over as it will try to match on name and if successful will use the UID on the target machine.
That's true, so this is one option for you.
If at anytime you want to verify that you have no un-owned files you can do:
# find / -nouser -o -nogroup
You can then use 'chown' to change the owner and group as necessary.
Regards!
...JRF...
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
> One such bit of info was to use 'tar' instead of 'rcp' to move files over as it will try to match on name and if successful will use the UID on the target machine.
That's true, so this is one option for you.
If at anytime you want to verify that you have no un-owned files you can do:
# find / -nouser -o -nogroup
You can then use 'chown' to change the owner and group as necessary.
Regards!
...JRF...
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-30-2009 08:15 AM
09-30-2009 08:15 AM
			
				
					
						
							Re: Going to new server, need to change some UIDs
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Great news. Thank you.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
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