User`s guide
OTP Configuration
508
AlterPath OnSite Administrator’s and User’s Guide
exodus.cyclades.com and the path to a /home/opie directory on
the NFS server.
5. Save and quit the file.
6. Do the procedure under“To Enable OTP and Configure the Location for
OTP Databases” on page 508.
Running the /bin/do_create_otpdb Script
After editing the /etc/otp.conf file, the root user needs to log in locally
through the OnSite’s console port and run the /bin/do_create_otpdb
script on the command line. The script does the following:
• Enables OTP
• Mounts the location (PCMCIA, local directory, or NFS-mounted
directory) specified in the otp.conf file onto the /mnt/opie
directory
• Creates the directory /mnt/opie/etc
• Creates the file /mnt/opie/etc/opiekeys
• Sets the permissions of the file to mode 0644, the owner of file to “root,”
and the group to “bin”
• Creates the directory /mnt/opie/etc/opielocks for the OPIE lock
files
• Sets the permissions of this directory to 0700 and the owner and group to
“root”
T To Enable OTP and Configure the Location
for OTP Databases
Do this procedure after “To Specify the Location for the OTP Databases” on page
507
.
1. Log in locally through the OnSite’s console port as root.
2. Run the /bin/do_create_otpdb script on the command line.
DEVICE=exodus.cyclades.com:/home/opie
:wq