Dandeloreon
February 17th, 2008, 12:51 PM
Pretty much as the title says, i am looking in to how to properly configure login hour restrictions where a user is automatically logged off when their time is up. and then on top of that, to automatically log them off when they are inactive for about 30 minutes.
edit:
i did change Time.conf, however a few more changes will be needed to enforce the hours, and get the users to automatically log off when the time limit is reached... for example, i need limits to where users can't login from 9pm to 5am the next day from Monday to thursday... so far i know the change for the Time.conf, but i need to find out other changes, namely time.conf needs the following.
# Affected user can't login from 21:00 hours till 24:00 hours on Monday through Thursday.
login|gdm;*;AffectedUser;!MoTuWeTh2100-2400
# Affected user can't login from 00:00 hours till 05:00 hours on Tuesday through Friday.
login|gdm;*;AffectedUser;!TuWeThFr0000-0500
edit:
i did change Time.conf, however a few more changes will be needed to enforce the hours, and get the users to automatically log off when the time limit is reached... for example, i need limits to where users can't login from 9pm to 5am the next day from Monday to thursday... so far i know the change for the Time.conf, but i need to find out other changes, namely time.conf needs the following.
# Affected user can't login from 21:00 hours till 24:00 hours on Monday through Thursday.
login|gdm;*;AffectedUser;!MoTuWeTh2100-2400
# Affected user can't login from 00:00 hours till 05:00 hours on Tuesday through Friday.
login|gdm;*;AffectedUser;!TuWeThFr0000-0500