Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Restoring Advanced Security files

Steve Lamont_1
Occasional Advisor

Restoring Advanced Security files

I am in the precess of a DR test, the hardware given to us by the DR Hardware supplier is slightly different than the production server (SD20e) in that the disk array supplied is a HSZ80 and the production server has another array attached (not a HSZ). an actual recovery 2 months ago tested the btcreate tape on a failed root disk sucessfully.
On trying the btcreate tape on the supplied hardware If found the cloneing issue of needs to be like for like hardware.

I then booted from cdrom created the disklabel fro the root, var, usr and created the advfs files systems then mounted them on /mnt.

restored the root, var, usr from vdump tape. rebooted. since the vdump data did not have any of the required drivers/devices for the HSZ80 the disks on the HSZ80 were not seen.

Third attempt.
installed the OS from cdrom, created the remaining 20 advfs filesystems and restored the data.

what I now need to know is, what files do i need to restore for the advanced security so that the users can login and test the DR
I have restored the following from the vdump tape:

/etc/passwd
/etc/group
/etc/services
/tcb/files/auth/*

but I can't login now as any user (thankfully I still have a couple of root sessions connected)

Any help will gratefully be rewarded

Thanks Steve
2 REPLIES
Steve Lamont_1
Occasional Advisor

Re: Restoring Advanced Security files

I have looked at the documentation and restored the
/tcb/files/auth.db
/var/tcb/files/auth.db

files and run authck -pv with no errors
but if i try to login as a user the system refused the login and if I attempt to change the root password i get a error.

Password not changed: failed to write protected password entry.

cheers Steve

Steve Lamont_1
Occasional Advisor

Re: Restoring Advanced Security files

found the solution. after much digging around

resart the password authentication database deamon

/sbin/init.d/prpasswd stop
/sbin/init.d/prpasswd start

I am now able to change the root password and other user can now login (after restoring the lmf database files for the licensing )

thanks anyway I think i deserve to give my self at least 10 point for that.