Casey,
   The easiest way would be to set a users TMOUT variable to the number of
maximum seconds allowed.  Doing a man bash should show you this informaion.
   You might also check out the Unix Guru Web site, which has lots of good
programs and links to scripts like idleuser (I believe).

... Steve


> Casey Bralla wrote:
> 
> > I need a program which will automatically logout a user who has not
> > had any activity for x minutes.  I envision a sniffer-type program
> > which records any data passing across tty's & ttyS's, then logs off
> > the account on that device when it is inactive for a specific period
> > of time.
> >
> > Does anybody know of such a program?
> > J R Casey Bralla
> > [EMAIL PROTECTED]
> >
> > Chief Nerd in Residence
> > NerdWorld
> > Cheraw, SC USA
> >
> > (803) 537-8822  Voice
> > (803) 537-8465  Fax
> >
> > -----BEGIN PGP PUBLIC KEY BLOCK-----
> > Version: 2.6.2
> >
> > mQBNAzRI6PQAAAECAKYJg7f6xX/rkB5mD1az4ZG41ageGs6nR2rcCQ7NDdc0+3Io
> > MCXp2YKKGtzL8M5rtsGotPHPvWn5vyPLXdfA9X0ABRG0OEogUiBDYXNleSBCcmFs
> > bGEgPFZvcmxvbkBwZG4ubmV0PiBvciA8U3RvY2tWaWV3QHBkbi5uZXQ+
> > =N8/5
> > -----END PGP PUBLIC KEY BLOCK-----
> >
> > ... First law of survival in Star Trek:  Don't be a 'nobody' on the
> 'Away Team'
> >
> 
> 
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips
> /mailing-lists
>          To unsubscribe: mail [EMAIL PROTECTED] with 
>                        "unsubscribe" as the Subject.


... steve

[EMAIL PROTECTED]


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to