System information
Configuring the User’s Console Login Menu
96 AlterPath OnBoard Administrator’s Guide
See “New User Login Menu Item Example” on page 94.
1. Log into the OnBoard’s console as root.
2. Use a text editor to open the /etc/menu.ini file for editing.
3. Find the [main] menu definition and insert a new option for the one-
time password submenu.
For example, you could add One-time_Password_Menu as the name
of the option that brings up the submenu and use opie as the keyword
that identifies the submenu.
4. Add a definition for the one-time password submenu using the same
keyword used in Step 3.
Two options are needed in the submenu. As shown in the screen example,
the first option runs the opiepasswd command with the -c option to
allow users to register themselves in the opiepasswd database and
another option runs the opiekey command with the -c and -n 5
option to generate five OTP passwords for the user.
Note: See the OPIE-related man pages available on the Internet for more
details.
T To Modify the Menu Displayed for Users at
Console Login
See “Configuring the User’s Console Login Menu” on page 93 for
background information and examples.
Caution! If adding programs to the menu, take care the commands do not
allow the user to break out of the programs they call.
1. Open a console session and log into the OnBoard as root.
[opie]
Register_with_OTP_Database= /usr/bin/opiepasswd -c
Get_OTP_Passwords = /usr/bin/opiekey -c -n 5