On Wed, 27 Aug 2003 12:21:25 -0700 Redhat Man <[EMAIL PROTECTED]> wrote:
> Hello Sean, > > Tuesday, August 26, 2003, 4:26:18 AM, you wrote: > > SE> On Tue, 26 Aug 2003 14:36:30 -0700 > SE> Redhat Man <[EMAIL PROTECTED]> wrote: > > >> Hi every one, > >> > >> I had installed Linux Redhat 8.0 OS soft in my network environment system. > >> While, I connected in root from the the remote computer to my linux redhat > >> system. > >> I wanna to make disable/logout from the root in shorten period automatically. > >> > >> How does it's possible to make auto disconnect ? > >> > >> Any bodies knows please...... > >> > >> > > SE> Morning, > > SE> If you're using bash then it's as easy as setting a variable > SE> to the number of seconds you desire: > > SE> TMOUT=60 > > SE> would mean that if you don't type anything for 1 minute > SE> bash will terminate. > > SE> Cheers, > SE> Sean > > > I don't understand what you mean. How i have to do it ? where I have > to do it ? Please tell me the command line in detail...? > > Thanks for your kind co-operation > > -- > Best regards, > Redhat mailto:[EMAIL PROTECTED] > > > If you're logged in via ssh for instance and sitting at the bash command prompt simply type: TMOUT=60 That will set the timeout to 1 minute for the current session. If you'd like this setting to take effect automatically for every session then add that same line to the /etc/bashrc file. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list