[scponly] Auto Logout
Hari Sekhon
hpsekhon at googlemail.com
Wed Apr 11 12:02:19 EDT 2007
Why don't you just create a bash script, it will take you 5 mins to
write and you can schedule it to disconnect anybody who has been idle
for more than a time you specify.
You can then schedule this as a cron job.
Simple and effective.
-h
Hari Sekhon
Kaleb Pederson wrote:
> Hi Joseph,
>
> It looks like that feature was added to OpenSSH at one time (see
> http://msgs.securepoint.com/cgi-bin/get/openssh-unix-dev-0108/60.html), and
> then removed or never applied.
>
> The idle-timeout isn't really something that's in the realm of scponly nor
> would it easily fit into the scponly architecture -- once a command has been
> executed, scponly has no knowledge of whatever actions it may perform, nor
> their frequency.
>
> If you run into a good solution, please let us know.
>
> Thanks.
>
> --Kaleb
>
> On Tuesday 10 April 2007, Joseph Ghobrial wrote:
>
>> Hello, just wondering if there is an environmental variable I can set
>> that would log people out who are idle for a certain period of time.
>> Something like TMOUT for bash.
>>
>> I have searched and can't see any mention of this and don't really
>> know if it is feasible. If it does not exist then I would like to
>> request the feature. I have users who sometimes connect for days at a
>> time and don't disconnect.
>>
>> I can script a solution, but would really like this to be within
>> scponly.
>>
>> Thanks,
>> Joseph
>>
>>
>>
>> _______________________________________________
>> scponly mailing list
>> scponly at lists.ccs.neu.edu
>> https://lists.ccs.neu.edu/bin/listinfo/scponly
>>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly
>
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the scponly
mailing list