/etc/default/login

The /etc/default/login file is login’s configuration file. Not much in a UNIX system is more important than login. The configuration settings should be set to values that would make an attacker’s work as difficult as possible. The settings shown in Listing 4.3 should be reasonable for most systems.

Listing 4.3. An Example of the /etc/default/login File
 #ident "@(#)login.dfl 1.10 99/08/04 SMI" /* SVr4.0 1.1.1.1 */ # Set the TZ environment variable of the shell. # #TIMEZONE=EST5EDT # ULIMIT sets the file size limit for the login. Units are disk blocks. # The default of zero means no limit. # #ULIMIT=0 # If CONSOLE is set, root can only login on that device. # Comment this line out to allow remote login by root. # CONSOLE=/dev/console ...

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.