Figure 2: Sample /etc/security/login.cfg
* First part, port definitions
default:
logintimes = 1-5:0700-1900,6:0800-1400,!0
logindelay = 30
logindisable = 5
logininterval = 360
loginreenable = 60
/dev/console:
herald = "Welcome to AIX Version 4.1.2\r\nlogin: "
* Second part, alternate login program.
mylogin:
program = /usr/local2/adm/mylogin
* Third part, user definitions
usw:
shells = /usr/bin/bsh,/usr/bin/csh,/usr/bin/ksh,
maxlogins = 2
logintimeout = 15
|