July 2015
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

July 2015
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

How to set Access/Restrictions on users logins

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 mohan to login during on […]

How to set Access/Restrictions on users logins

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 mohan to login during on weekdays […]