GNU Info

Info Node: (grub.info)lock

(grub.info)lock


Next: makeactive Prev: kernel Up: Command-line and menu entry commands
Enter node , (file) or (file)node

lock
----

 - Command: lock
     Prevent normal users from executing arbitrary menu entries. You
     must use the command `password' if you really want this command to
     be useful (Note: password).

     This command is used in a menu, as shown in this example:

          title This entry is too dangerous to be executed by normal users
          lock
          root (hd0,a)
          kernel /no-security-os

     See also Note: Security.


automatically generated by info2www version 1.2.2.9