PAM_TIME(8)
โจ PAM_TIME ๐
okay bestie, so this is the Linux-PAM Manual page for pam_time โ the module that's literally the bouncer of time. no cap. ๐๐
๐ธ NAME ๐ธ
pam_time โ the PAM module that does time control access. it's giving "you can come in, but only at the right hour, on the right day, from the right terminal." โฐ๐ช
๐ฆ SYNOPSIS ๐ฆ
pam_time.so [conffile=conf-file] [debug] [noaudit]
short, sweet, three little options. slay. โจ
๐ DESCRIPTION ๐
so here's the tea, bestie: pam_time does NOT authenticate the user. it's not doing passwords, it's not doing vibes-checking of credentials. nope. instead, it restricts access to a system and/or specific applications at various times of the day, on specific days, or over various terminal lines. main character behaviour honestly. ๐
you can configure this module to deny access to (individual) users based on:
- their name ๐ชช
- the time of day ๐ฐ๏ธ
- the day of week ๐
- the service they're applying for ๐
- their terminal, like which one they're making their request from ๐ฅ๏ธ
by default, the rules for time/port access come from the config file /etc/security/time.conf. wanna use a different file? just pass the conffile option. easy. ๐
and if Linux PAM is compiled with audit support, the module will report when it denies access. snitch behaviour, but make it security. ๐จ
๐ OPTIONS ๐
conffile=/path/to/time.confโ point at an alternativetime.conf-style configuration file so it overrides the default one. your file, your rules, your era. ๐debugโ prints some debug information withsyslog(3). for when you wanna see what's going on under the hood, nosy bestie energy. ๐noauditโ do NOT report logins at disallowed times to the audit subsystem. quiet mode activated. ๐คซ
๐ MODULE TYPES PROVIDED ๐
only the account type is provided. that's it. one type. it knows its lane and it stays in it. periodt. ๐
๐ RETURN VALUES ๐
here's the vibe check results, bestie:
PAM_SUCCESSโ access was granted. come on in, queen. ๐PAM_ABORTโ not all relevant data could be gotten. ๐ญ it tried, it really did.PAM_BUF_ERRโ memory buffer error. the RAM said "not today". ๐PAM_PERM_DENIEDโ access was NOT granted. the door said no. ๐ซPAM_USER_UNKNOWNโ the user is not known to the system. who even are you? ๐
๐ FILES ๐
/etc/security/time.confโ the default configuration file. the blueprint. the source material. โจ
๐ง EXAMPLES ๐ง
okay so here's how you'd actually use it, and yes it's giving PAM config realness:
#%PAM-1.0
#
# apply pam_time accounting to login requests
#
login account required pam_time.so
look at that. login requests, account type, required, and the star of the show: pam_time.so. ate. ๐ฅ
๐ SEE ALSO ๐
time.conf(5), pam.d(5), pam(8). go read those too, they're the supporting cast and they understood the assignment. ๐๐ซถ
โญ AUTHOR โญ
pam_time was written by Andrew G. Morgan <morgan@kernel.org>. iconic. legend behaviour. we stan. ๐
and that's the whole page, bestie!! ๐ this one shipped under the Linux-PAM banner, dated 09/27/2026. go forth and schedule your access like the organized queen you are. mwah. ๐๐ฆโจ
๐ฆ where this page comes from
- arch rolling: pam 1.7.3-1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms