Re: timeout value

From: Paul LaMadeleine (plamadeleine@LIGHTBRIDGE.COM)
Date: Thu Jul 10 2003 - 14:44:45 EDT


I believe there is, but we have not tested it here. This is from the csh
man page:

> autologout
> If autologout is set to a value greater than 0 (zero), the shell ter-
> minates if a command is not entered within the prescribed number of
> minutes after issuing the shell prompt.
>
> Auto-logout is enabled by default if the shell runs as a login shell
> and if the standard input stream is not a pseudo tty and the DISPLAY
> environment variable is not set. Auto-logout can be disabled by adding
> the following line to your .login or .cshrc file:
>
> set autologout = 0

At 11:22 AM 7/10/2003 -0700, you wrote:
>This is exactly what I was looking for. Is there
>something for csh as well?
>
>--- Paul LaMadeleine <plamadeleine@LIGHTBRIDGE.COM>
>wrote:
> > Greetings,
> >
> > We place this in our /etc/profile
> >
> > #
> > # TMOUT works for ksh and bash
> > # It's the number of seconds the account can stay
> > idle before
> > # being automatically logged out.
> > #
> > TMOUT=14400 # 14400 seconds = 4 hours
> > export TMOUT
> > readonly TMOUT # make the variable unmodifiable
> >
> > This does not work for /bin/sh though. All
> > the user really needs
> > to do is spawn a /bin/sh. But if you can make
> > /bin/sh a link to /bin/ksh
> > this may solve this problem.
> >
> > Hope this helps,
> >
> > Paul LaMadeleine
> >
> > At 09:04 AM 7/10/2003 -0700, you wrote:
> > >All,
> > >
> > >Is there a way to knock a user out of AIX that has
> > >been inactive for a period of time? If not that, is
> > >there a way to knock them off after a set period of
> > >time? I'm wondering if there's a way to do this
> > other
> > >than by me scripting it.
> > >
> > >Thanks!
> > >
> > >-Stephen Spalding
> > >
> > >__________________________________
> > >Do you Yahoo!?
> > >SBC Yahoo! DSL - Now only $29.95 per month!
> > >http://sbc.yahoo.com
> >
>
>
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>http://sbc.yahoo.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:01 EDT