User defined menus 11.. PPrriinncciipplleess As Linuxconf increases in functionality, you may wish to create limited views to allow less experienced co-administrators to focus only on the tasks they must perform. A user defined menu is a collection of Linuxconf menu entries presented in a single menu. 22.. CCrreeaattiinngg aa nneeww mmeennuu You must assign a unique identifier to the new menu. The identifier is normally a meaningful name. 22..11.. TTiittllee Place any title you want here. This will be displayed at the top of the menu seen by the co-administrators. 22..22.. AAcccceessss pprriivviilleeggee Each user defined menu creates a new privilege. The privilege grants access to the menu to a normal user. On the user accounts dialog, you'll need to grant access to the menu to anyone who is allowed to use this menu. By default, the privilege only grants access to the menu. Any entry in the menu may define other privileges. Unless the co-administrator has those privileges, he will be prompted for the root password. The checkbox lets you enhance the power of the privilege associated with the menu. When checked, the privilege overrides any privileges normally associated with the menu entries. Said differently, the co- administrator holding this privilege has the same power as root for the tasks showed in the menu. Use of this checkbox must be taken very seriously. A malicious co- administrator may find a way to get more privileges (including root access perhaps). Many Linuxconf components do not define any privileges (the root password is required). This checkbox allows a normal user to administer those components. 22..33.. LLiinnuuxxccoonnff''ss ooppttiioonnss You are presented with many checkboxes. Each one maps one Linuxconf menu entry to the newly defined menu. You can map a terminal menu entry or a submenu. Mapping a submenu enables access to every menu entry under it. 33.. UUssiinngg uusseerrmmeennuu''ss Using the user defined menu, you need a privilege and a way to access it. 33..11.. SSeettttiinngg pprriivviilleeggeess Each menu you create defines a new privilege. You must grant this privilege to co-administrators. 33..22.. HHooww ttoo ggeett iinn User defined menu may be used either from the the command line (text or GUI) or using the web (HTML). Web user can connect directly to the menu using the following URL: http://your-server:98/htmlmod:usermenu_ID/ where ID is the menu ID. Using the GUI or the text mode, one may access the menu using the following command line: linuxconf --modulemain usermenu ID