|
|
If the system startup process reports that security database files are missing, follow these steps:
The custom verify command will repair any broken symbolic links that may have rendered the files unreachable. custom leaves a copy of the verify output in custom.VerifyReport.
If the process is successful, enter <Ctrl>D to continue the startup process. If files are actually missing from the system and not just a consequence of a broken link, the error messages will persist and the files must be restored from backups (step 2) or from the original distribution files (step 3).
Now use the appropriate copy commands to restore your lost files:
cp etc/auth/system/default /etc/auth/system/default
cp auth/system/files /etc/auth/system/files
cp auth/system/devassign /etc/auth/system/devassign
cp auth/system/authorize /etc/auth/system/authorize
cp etc/group /etc/group
cp etc/passwd /etc/passwd
If you are missing /etc/default/accounts, enter
these commands:
cd /opt/K/SCO/Unix_adm/*/.softmgmt/var/etc/sysadm.d/account
cp accounts /etc/default/accounts
This lists all the accounts on the system and their UIDs (u_id). Ignore the system accounts like root and bin. The remaining accounts can be added by editing /etc/passwd manually, or by running the Account Manager and adding the users (making sure to enter the correct UID and use the existing home directories instead of creating new ones).