![]() |
Regular users are configured with /usr/bin/rmenush as their default login shell. All users with rmenush as their login shell see the same menu whenever they log into the OnBoard appliance’s console.The OnBoard appliance administrator can configure the rmenush menu to display other options including links to additional submenus or commands by modifying the /etc/menu.ini file.CAUTION:If changing the default menu, the administrator needs to ensure that any added programs do not introduce security vulnerabilities.The administrator needs to know the following about the behavior of rmenush before configuring any changes to the menu:
• If the called program exits with a return code indicating an error, rmenush prompts the user to press any key to continue.
• Any error messages generated by the called program are left on the screen for the user to read. Examples show how the administrator can force this behavior on for successful programs and off for unsuccessful ones are provided in the configuration file.
• The OnBoard appliance administrator assigns the /usr/bin/rmenush shell to users as appropriate, by editing the /etc/passwd file entries for the users.
• The right-hand value of each name/command pair is assumed to be either a menu defined in the menu.ini file or a command.
• A maximum of sixteen menu items can display on the screen at a time. Any extra menu items can be reached by using the arrow keys to scroll down.See Configuring the User’s Console Login Menu 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.
a. The following example shows a new menu option with a command defined along with a link to a new subnet identified with the newsubmenu keyword.
New_Menu_Option = command_pathname_and_optionsNew_Submenu = newsubmenu
[newsubmenu]Submenu_Option1 = command_pathname_and_optionsSubmenu_Option2 = command_pathname_and_options