You can protect the physical machine by requiring a password to gain access to the hardware settings. You can also protect the machine by preventing a user from using the abort sequence to leave the windowing system.
On an x86 system, the equivalent to protecting the PROM is to protect the BIOS. Refer to your machine's manuals for how to protect the BIOS.
The System Administrator profile includes the Maintenance and Repair profile. To create a role that includes the System Administrator profile and to assign the role to a user, see Configuring RBAC (Task Map).
# eeprom security-mode=command Changing PROM password: New password: <Type password> Retype new password: <Retype password>
Choose the value command or full. For more details, see the eeprom(1M) man page.
If, when you type the preceding command, you are not prompted for a PROM password, the system already has a PROM password.
# eeprom security-password= Press Return Changing PROM password: New password: <Type password> Retype new password: <Retype password>
The new PROM security mode and password are in effect immediately. However, they are most likely to be noticed at the next boot.
Caution - Do not forget the PROM password. The hardware is unusable without this password.
Some server systems have a key switch. When the key switch is set in the secure position, the switch overrides the software keyboard abort settings. So, any changes that you make with the following procedure might not be implemented.
The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
Comment out the enable line in the /etc/default/kbd file. Then, add a disable line:
# cat /etc/default/kbd … # KEYBOARD_ABORT affects the default behavior of the keyboard abort # sequence, see kbd(1) for details. The default value is "enable". # The optional value is "disable". Any other value is ignored. … #KEYBOARD_ABORT=enable KEYBOARD_ABORT=disable
# kbd -i