---
name: "pam_time"
section: "8"
platform: "linux"
package: "pam"
version: "1.7.3-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pam_time"
---

# pam\_time(8)

PAM module for time control access

## NAME

pam\_time - PAM module for time control access

## SYNOPSIS

**pam\_time.so** \[conffile=conf-file\] \[debug\] \[noaudit\]

## DESCRIPTION

The pam\_time PAM module does not authenticate the user, but instead it restricts access to a system and or specific applications at various times of the day and on specific days or over various terminal lines. This module can be configured to deny access to (individual) users based on their name, the time of day, the day of week, the service they are applying for and their terminal from which they are making their request.

By default rules for time/port access are taken from config file /etc/security/time.conf. An alternative file can be specified with the *conffile* option.

If Linux PAM is compiled with audit support the module will report when it denies access.

## OPTIONS

conffile=/path/to/time.conf

Indicate an alternative time.conf style configuration file to override the default.

debug

Some debug information is printed with [**syslog**(3)](/syslog/3.md).

noaudit

Do not report logins at disallowed time to the audit subsystem.

## MODULE TYPES PROVIDED

Only the **account** type is provided.

## RETURN VALUES

PAM\_SUCCESS

Access was granted.

PAM\_ABORT

Not all relevant data could be gotten.

PAM\_BUF\_ERR

Memory buffer error.

PAM\_PERM\_DENIED

Access was not granted.

PAM\_USER\_UNKNOWN

The user is not known to the system.

## FILES

/etc/security/time.conf

Default configuration file

## EXAMPLES

```
#%PAM-1.0
#
# apply pam_time accounting to login requests
#
login  account  required  pam_time.so
```

## SEE ALSO

[**time.conf**(5)](/time.conf/5.md), [**pam.d**(5)](/pam.d/5.md), [**pam**(8)](/pam/8.md).

## AUTHOR

pam\_time was written by Andrew G. Morgan \<morgan@kernel.org\>.
