JAVA/Sun Exam Questions

what must the line beginning CONSOLE= be set for root logins to be disabled?

You are making your system more secure and decide that you are going to disable root logins. In the file that contains the entry which controls root logins, to what must the line beginning CONSOLE= be set for root logins to be disabled?

A.
CONSOLE=

B.
CONSOLE=/dev/console

C.
CONSOLE=disable_root

D.
CONSOLE=root_disable

Explanation:

#CONSOLE=/dev/console = Remote root login allowed (default) CONSOLE=/dev/console = Remote root login NOT allowed CONSOLE= = Can only su to root. No access on console