/etc/logindevperm

The /etc/logindevperm configuration file sets the permission modes on the specified console devices. Its importance lies in the fact that if an unauthorized person can read from and/or write to the console devices, usually used for system administration, serious security breaches might occur. For example, someone could intercept the root passwords and everything else typed on the keyboard by reading the /dev/kbd device. Therefore, be sure that the mode column shown in Listing 4.2 is set to a restrictive setting.

Listing 4.2. An Example of the Default /etc/logindevperm File
 # Copyright 1999 by Sun Microsystems, Inc. # All rights reserved. # #pragma ident "@(#)logindevperm 1.5 99/03/02 SMI" # # /etc/logindevperm - login-based ...

Get Solaris 8 Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.