security.4 (2012 03)
s
security(4) security(4)
The current umask is set or restricted further with the value of default_umask.
For trusted systems, the
umask
is also restricted so as not to exceed
SEC_DEFAULT_MODE
defined in /usr/include/hpsecurity.h
.
Default value:
UMASK=0
Notes
Use the functions defined in secdef (3) to read the values of the attributes defined in this file.
The usage, possible values and default value of each of the attributes described in this manpage is
defined in the
/etc/security.dsc
file.
The behavior of some attributes is affected by the time zone. For these attributes the time zone is deter-
mined by the first line of the form TZ
=timezone in the file /etc/TIMEZONE
. If the time zone is not
specified in this file, it is obtained from the file
/etc/default/tz
, as described in tzset (3C).
EXAMPLES
The following are examples of
LOGIN_TIMES usage.
SaSu:Wk1800-2400
The user can login to the system all day on weekends and after 6:00 pm on week days.
MoWeFr1000-1400:TuThSu0800-1700
The user can login to the system on Monday, Wednesday and Friday from 10:00 am to 2:00 pm and
on Tuesday, Thursday, and Sunday from 8:00 am to 5:00 pm.
Any0400-1300
The user can login to the system every day from 4:00 am until 1:00 pm.
Any No day or time restrictions. This is the default.
Mo1800-2400:Tu0000-0300
The user can login to the system any time between Monday after 6:00 pm until Tuesday at 3:00 am.
Mo0000-0300:Mo1800-2400
The user can only login to the system on Mondays between midnight and 3:00 am or after 6:00 pm
on Mondays.
WARNINGS
HP-UX 11i Version 3 is the last release to support trusted systems functionality.
AUTHOR
The
security file was developed by HP.
FILES
/etc/default/security
security defaults configuration file
/etc/security.dsc
security attributes description file
/var/adm/userdb user database
SEE ALSO
login(1), passwd(1), su(1), init(1M), userstat(1M), secdef(3), pam.conf(4), userdb(4), pam_hpsec(5),
pam_unix(5).
8 Hewlett-Packard Company − 8 − HP-UX 11i Version 3: March 2012