Article View: comp.unix.admin
Article #4431Re: Access hours question.
From: Frank
Date: Wed, 06 Dec 2000 00:00
Date: Wed, 06 Dec 2000 00:00
16 lines
1328 bytes
1328 bytes
Hi, 2 things come in my mind. 1. You can do some shell scripting in /etc/profile, /etc/login.... to check login ID and time & kick the user out during login in after business hours. This will not help against users which are already logged in. 2. create a script to kill all login sessions and run it i.e 0,5,10,15,20,25,30,35,40,45,50,55 20-23 * * * /<somepath</<myscript> via cron. This gives user a maximum of 5 minut๏ฟฝs to work. Depends on your requirements/budget what is the better solution. May be you will use a combination. Hope this helps. Frank
Technical Details
Message-ID:
<D2xX5.78$Jt4.2871@news.tli.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3a2dd580.0@news.tm.net.my>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1020c6,2656e64906356e54 X-Google-Attributes: gid1020c6,public X-Google-Thread: 10d671,2656e64906356e54 X-Google-Attributes: gid10d671,public From: "Frank" <frank.brauer@talknet.N_O__S_P_A_M.de> Subject: Re: Access hours question. Date: 2000/12/06 Message-ID: <D2xX5.78$Jt4.2871@news.tli.de> X-Deja-AN: 701886058 References: <3a2dd580.0@news.tm.net.my> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Complaints-To: abuse@tli.de X-Trace: news.tli.de 976133411 195.252.199.159 (Wed, 06 Dec 2000 21:10:11 MET) Organization: Talkline Internet Division http://www.tli.de NNTP-Posting-Date: Wed, 06 Dec 2000 21:10:11 MET Newsgroups: comp.unix.admin,jaring.os.linux