How to set Access/Restrictions on users logins
a d v e r t i s e m e n t s
Time Based Restrictions
These examples will limit the login times of certain users. See /etc/security/time.conf for more information/examples. In order to place time restrictions on user logins, the following must be placed in /etc/pam.d/login:
account required /lib/security/pam_time.so
The remaining lines should be placed in /etc/security/time.conf.
1. Only allow user nikesh to login
- Add new comment
- 117 reads
- Stumble













Recent comments
1 year 40 weeks ago
1 year 47 weeks ago