todpod
Golden Member
To time limit a user. I found this. http://www.techrepublic.com/blog/security/restrict-users-access-on-linux-systems/319
Amy good ideas. Currently running Ubuntu 13.10
Amy good ideas. Currently running Ubuntu 13.10
Reading the last link that you posted above, it seems that you can only login at the times that you specified (Mondays 1pm to 7pm).I'll admit defeat... I can't seem to figure out where I'm going wrong, but maybe someone here can help... I must be missing something...
Here is what I did....
Created a new user with a standard account. We'll call them "user".
Edited /etc/pam.d/login and uncommented the line for pam_time (i.e., account required pam_time.so)
Edited /etc/security/time.conf and added *;*;user;!Mo1300-1900
In theory, I thought that should prevent me from logging on mondays from 1pm to 7pm.
However, I was still able to log on with that user during that timeframe.
I'm not sure what I'm missing...
Maybe someone else here can help?
Reading the last link that you posted above, it seems that you can only login at the times that you specified (Mondays 1pm to 7pm).
sudo nautilus
account required pam_time.so
sudo nautilus
gksudo nautilus