forked from infra/ansible
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
|
# -*- text -*-
|
||
|
#
|
||
|
# $Id: 26691a93664c464f49394773e04d3b2ed565d142 $
|
||
|
|
||
|
# The logintime module. This handles the Login-Time,
|
||
|
# Current-Time, and Time-Of-Day attributes. It should be
|
||
|
# included in the *end* of the authorize section in order to
|
||
|
# handle Login-Time checks. It should also be included in the
|
||
|
# instantiate section in order to register the Current-Time
|
||
|
# and Time-Of-Day comparison functions.
|
||
|
#
|
||
|
# When the Login-Time attribute is set to some value, and the
|
||
|
# user has bene permitted to log in, a Session-Timeout is
|
||
|
# calculated based on the remaining time. See "doc/README".
|
||
|
#
|
||
|
logintime {
|
||
|
#
|
||
|
# The Reply-Message which will be sent back in case
|
||
|
# the account is calling outside of the allowed
|
||
|
# timespan. Dynamic substitution is supported.
|
||
|
#
|
||
|
reply-message = "You are calling outside your allowed timespan\r\n"
|
||
|
#reply-message = "Outside allowed timespan (%{control:Login-Time}), %{User-Name}\r\n"
|
||
|
|
||
|
# The minimum timeout (in seconds) a user is allowed
|
||
|
# to have. If the calculated timeout is lower we don't
|
||
|
# allow the logon. Some NASes do not handle values
|
||
|
# lower than 60 seconds well.
|
||
|
minimum-timeout = 60
|
||
|
}
|
||
|
|