Last active
August 21, 2021 09:35
-
-
Save sisco70/71f4a4d93a3ecf644a958481d4d887fa to your computer and use it in GitHub Desktop.
PAM Time login access
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# UBUNTU 20.04 LTS Allow access to USERNAME only from 18.30 to 21.00 every day | |
# Add to /etc/pam.d/common-auth | |
account required pam_time.so | |
# Add to /etc/security/time.conf | |
*;*;USERNAME;Al1830-2100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment