Sponsored Content
Top Forums UNIX for Advanced & Expert Users Force user to disconnect if no activity Post 51824 by MarkN on Wednesday 2nd of June 2004 06:03:41 PM
Old 06-02-2004
Data Force user to disconnect if no activity

Does anybody know how to force a user to automatically logoff a UNIX session if there is no keyboard activity for a period of time? We use COBOL and there is a BEFORE TIME option on the ACCEPT command, however, we do not want to change the many programs we have to detect this.

What we really want to have happen is from the UNIX login have some sort of a way to monitor and detect no activity and force the user to disconnect.

Thanks for your help,
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Echoing remote user activity?

Hello, I administer a NetBSD (1.6.2) server that receives remote logins over telnet with users running Csh. I wish to be able to occasionally bring up exactly what these users are doing. Echoing their consoles to mine would be ideal, but I cannot find any information on how this would be... (1 Reply)
Discussion started by: dangerousbeans
1 Replies

2. UNIX for Dummies Questions & Answers

audit user activity - possible?

Hi, I have been asked if it is possible to track the last time a specific user logged in to the sysetm. checked my documentation but can't see it there - google is not being very helpful either. I wonder if someone here can help - it will be much appreciated. Thanks Suresh (1 Reply)
Discussion started by: sureshy
1 Replies

3. UNIX for Dummies Questions & Answers

Tool to monitor user activity

Hello, Does any one knows any tools or method to monitor users all activities on Solaris 8, including command and its result. Similar to 'script' ??? Thanks nana (3 Replies)
Discussion started by: nana
3 Replies

4. Solaris

Monitoring all user keystroke activity

Hello, First post so bear with me....i've done lost of searches on this and did not find a definitive answer. I need to be able to capture in log every single keystroke a user performs, I am aware that the script command can be used to do this, however, here is my dilemma/problem. Here... (1 Reply)
Discussion started by: giles.cardew
1 Replies

5. Shell Programming and Scripting

SVN activity of certain user

Hi there, I'm looking for some help to get a little script done that shows me (or counts) only the added lines from an SVN repository of one specific user. Anybody has an idea? Thanks, Michael (0 Replies)
Discussion started by: MichaelGiese
0 Replies

6. UNIX for Dummies Questions & Answers

Commands to monitor other user's activity

What commands would you recommend in order to monitor things like when a user logs on to a server, assuming you know that user's name on the server? (2 Replies)
Discussion started by: Sotau
2 Replies

7. Shell Programming and Scripting

In real time - what user connects or disconnect

Write a tool that will be displayed in real time, what user connects or disconnects from a system that uses this tool :)) Maybe anyone can help me? (2 Replies)
Discussion started by: titasas
2 Replies

8. Shell Programming and Scripting

Audit user activity

Need some help in coming up to log all the activity that is used with our common "unix account". Ideally I am looking for to log the activity in a "separate" file for each session or login until the user logout, I would like to capture the date/time and terminal login and record all the ... (3 Replies)
Discussion started by: rajmanna
3 Replies

9. UNIX for Dummies Questions & Answers

How to track user activity?

Hi All Please can you help me with the following issue: A certain vendor installed an application in which for a user to log in; the user must use a user created/predefined by the application. And because this application has more than one user its difficult to track who did what and when,... (6 Replies)
Discussion started by: fretagi
6 Replies

10. UNIX for Advanced & Expert Users

Track activity of a user

Hi All We have a job which writes files to a server at a particular time. The files will be created by a particular user ID Today, during the execution of the job, it created a file to the server and the file sat on the server for sometime, but was deleted immediately at the end of the... (4 Replies)
Discussion started by: sparks
4 Replies
syndaemon(1)						      General Commands Manual						      syndaemon(1)

NAME
syndaemon - a program that monitors keyboard activity and disables the touchpad when the keyboard is being used. SYNOPSIS
syndaemon [-i idle-time] [-d] [-p pid-file] [-t] [-k] [-K] [-R] [-s] DESCRIPTION
Disabling the touchpad while typing avoids unwanted movements of the pointer that could lead to giving focus to the wrong window. OPTIONS
-i <idle-time> How many seconds to wait after the last key press before enabling the touchpad. (default is 2.0s). -d Start as a daemon, ie in the background. -p <pid-file> Create a pid file with the specified filename. A pid file will only be created if the program is started in daemon mode. -t Only disable tapping and scrolling, not mouse movements, in response to keyboard activity. -k Ignore modifier keys when monitoring keyboard activity. -K Like -k but also ignore Modifier+Key combos. -R Use the XRecord extension for detecting keyboard activity instead of polling the keyboard state. -s Use a shared memory area to enable/disable the touchpad instead of device properties. WARNING: The SHM mechanism is not secure if you are in an untrusted multiuser environment. All local users can change the parameters at any time. This option requires the driver Option "SHMConfig" to be enabled. ENVIRONMENT VARIABLES
DISPLAY Specifies the X server to contact. CAVEATS
It doesn't make much sense to connect to a remote X server, because the daemon will then monitor the remote server for keyboard activity, but will disable the touchpad on the local machine. AUTHORS
Peter Osterlund <petero2@telia.com>. This man page was written by Mattia Dongili <malattia@debian.org> SEE ALSO
Xorg(1), synclient(1), synaptics(4) X Version 11 xf86-input-synaptics 1.2.2 syndaemon(1)
All times are GMT -4. The time now is 06:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy