Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!PAN.SSEC.HONEYWELL.COM!thompson From: thompson@PAN.SSEC.HONEYWELL.COM (John Thompson) Newsgroups: comp.sys.apollo Subject: re: registry problem Message-ID: <9102192333.AA06200@pan.ssec.honeywell.com> Date: 19 Feb 91 23:33:54 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 42 > ...while someone was editing the master ( only ) registry, another person > EX'd the node on which the registry resides. Now rgyd will not start on > the node .... The question is, how do we get the registry back. You might want to try '/etc/rgyd -restore_master'. In the help file, this is listed for use when something catastrophic has happened.... It may be that it expects a back-up to have been placed there, but it can't hurt. > If I do need to re-create the registry, is there a way to set the uid's back > to what they were. ( We only have 3 user accounts + the default ones ). Well, with only 3 non-default accounts, it might be easiest to run rgy_create and add 3 accounts. > If I could find out the existing uid's could I use adopt in edrgy to do this? You should be able to, for the person, group, and org parts. The accounts don't have this, however (being built up of a p,g,o triplet). You might be able to find the UIDs by using edrgy on a/the local registry (/etc/edrgy -l). Then, a 'view -f' should give you lots of info. On my node, part of it reads thompson[.sys_admin.sys_org]:Not-My-Passwd:100:10::/user/thompson:/com/sh: created by: root.sys.none 1990/05/10.17:44 changed by: thompson.sys_admin.sys_org 1991/02/04.08:50 password is: valid, was last changed: 1991/01/24.13:33 account expires: 1991/02/25 account is: valid logged in from: BC86 person: 100 40130AEA.3000BCF0 group: 10 00800042.00000000 org: 10 00000582.00000000 The last parts, of course, give you the Unix number and the UID for the adoption. My registry was up at the time, so it might have gotten some stuff from there, but I told it to do local-only. Suggestion to HP/Apollo-types out there. As long as the local registry is around, would it be possible to have a utility that did a 'merge' of the local back into the real registry???? Pretty please? -- jt -- John Thompson Honeywell, SSEC Plymouth, MN 55441 thompson@pan.ssec.honeywell.com Me? Represent Honeywell? You've GOT to be kidding!!!