Operating System - HP-UX
1836260 Members
553 Online
110096 Solutions
New Discussion

changing realm in _ACL and _OWNER in pfiles and dfiles directory

 
VAS_1
Frequent Advisor

changing realm in _ACL and _OWNER in pfiles and dfiles directory

I'm building a replacement depot server. I used rsync to copy files from the old to the new server, and swreg to register the depots. I'm happy with everything except that the copied patches, software, depots, etc. have the old server name as the default realm.

I see the default_realm comments in the _ACL and _OWNER files belonging to the depots and software packages:

_ACL:# default_realm=oldserver
_OWNER:# default_realm=oldserver.example.com

I have tested editing the string to change the server name, and this seems not to have any negative consequences. Before I do a mass replacement in every file, however, I thought I would ask here if anyone has done this and had a bad result.

(FWIW, I did try to modify the ACLs using the -F option but default_realm is a comment rather than a setting.)

Thanks for any input.