Click to See Complete Forum and Search --> : Staying logged in


Usulsuspct
07-22-2001, 08:50 PM
I am trying to make a linux mp3 player for a room in my house...currently I dont have the ability to put a monitor on the box so it's running headless...

I have to type the CLI commands in and execute them without looking at them first...I am using mp3blaster to play the mp3z, and my problem is that after about ten minutes or so I get logged out of my console...

I get prompted to enter my name and password again...is there anyway I can log in once and have it stay logged in indefinitaly?

Thanks

bdg1983
07-23-2001, 06:09 AM
I just read about this a couple of days ago, but of course I can't remember where.

There is a variable that can be set in the global bashrc file in /etc/????/shells or something like that. If I come across the same article, I'll post back.

Usulsuspct
07-23-2001, 06:31 AM
Well I found a variable called autologout when I issued a set command.

I did a set autologout = -1 and I think that kept it from loggin me out....how can I set this enviornment variable at startup? Right now I have a script that set's it...but would like it set automatically...

bdg1983
07-23-2001, 04:51 PM
/etc/config.d/shells/bashrc is the global bashrc where you can setup the variable.

man bash

Look for TMOUT.