Apple Xserve Up Mac OS X Server Specifications Page 133

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 132
Chapter 8 Managing User and Group Accounts 133
4 Restrict which administrators are allowed to run the sudo tool by removing the line that
begins with %admin and adding the following entry for each user, substituting the users
short name for the word
user
:
user
ALL=(ALL) ALL
Doing this means that any time an administrator is added to a system, the
administrator must be added to the /etc/sudoers file as described above if that
administrator needs to use the sudo tool.
5 Save and quit visudo.
For more information, see the vi and visudo man pages.
Securing Single-User Boot
On Apple computers running Mac OS X, Open Firmware is the software executed
immediately after the computer is powered on. This boot firmware is analogous to the
BIOS on an x86-based PC.
To prevent users from obtaining root access by booting into single user mode or
booting from other disks, alter the Open Firmware settings. For desktop computers, the
Open Firmware security mode should be set to command. To configure the Open
Firmware settings, use the nvram tool.
To set the variable security mode:
$ nvram security-mode=“command”
In command mode, the computer boots from the boot device specified in the
computer’s boot device variable and disallows users from providing boot arguments.
To verify that the computer is in command mode as recommended:
1 Close all applications and choose Restart from the Apple menu.
A confirmation window appears. Restart the computer by clicking the Restart button.
2 Hold down the key combination Command-S while the computer boots.
If the command mode has been set correctly, the computer displays the Mac OS X
login window. Normally, holding down the Command-S key combination while starting
up causes the computer to start up in single-user mode.
3 If the computer started up in single-user mode, restart the computer by issuing the
command reboot; then repeat the previous steps for putting the computer into
command mode.
Open Firmware protection can be violated if the user has physical access to the
computer or if the user changes the physical memory configuration of the computer
and then resets the PRAM 3 times (holding down Option-P-R during boot). This
disables the Open Firmware password.
Page view 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 328 329

Comments to this Manuals

No comments