[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: How to idle out a linux user.



linux@xxxxxxxxxxxxxx forced the electrons to say:
> 
> I want to know how to automatically idle-out a user. I want to know how to
> set the idle-time. I am not talking about /etc/porttime.

If your users are using bash, then

declare -xr TMOUT=600

in /etc/bashrc will time out the user in 10 minutes (ie, 600
seconds). There will be similar methods for other shells as well.

Binand.

- -- 
#include <stdio.h>                                   | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c;     | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c";    | printing program.
int main(){printf(p,10,34,p,34,10);return 0;}        | Try it!!

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------