๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.admin
Article #4432

Re: Access hours question.

#4432
From: grocb1
Date: Wed, 06 Dec 2000 00:00
39 lines
1840 bytes
Yup
like frank just said, write a script that locks logins at a certain
time, and sends a mesg to everyone logged in that in 5 minutes their
processes will be killed.  then add a couple lines to kill all the
logins associated with those IP's



In article <D2xX5.78$Jt4.2871@news.tli.de>,
  "Frank" <frank.brauer@talknet.N_O__S_P_A_M.de> wrote:
> 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
>
>

--
Brad Grocholski
Technology Systems Engineering


Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <90mda4$f8$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3a2dd580.0@news.tm.net.my> <D2xX5.78$Jt4.2871@news.tli.de>

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: grocb1 <brad.grocholski@sasktel.sk.ca>
Subject: Re: Access hours question.
Date: 2000/12/06
Message-ID: <90mda4$f8$1@nnrp1.deja.com>
X-Deja-AN: 701922165
References: <3a2dd580.0@news.tm.net.my> <D2xX5.78$Jt4.2871@news.tli.de>
X-Http-Proxy: 1.0 x66.deja.com:80 (Squid/1.1.22) for client 142.164.177.75
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Wed Dec 06 22:07:05 2000 GMT
X-MyDeja-Info: XMYDJUIDgrocb1
Newsgroups: comp.unix.admin,jaring.os.linux
X-Http-User-Agent: Mozilla/4.75 [en]C-CCK-MCD (Win95; U)