Node:lock, Next:, Previous:kernel, Up:Command-line and menu entry commands



lock

lock Command
Prevent normal users from executing arbitrary menu entries. You must use the command password if you really want this command to be useful (see 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 Security.