LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-23-2009, 07:20 AM   #1
rozilla
Member
 
Registered: Dec 2006
Distribution: Ubuntu 8.04
Posts: 72

Rep: Reputation: 15
Automatically log out idle users


I'm looking for an app (or a config?) that automatically logs out users who are idle beyond a given time-limit.
 
Old 03-23-2009, 07:45 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
append
Code:
export TMOUT=###
to /etc/profile, replacing ### with the number of seconds you want.

And sorry, but this is an easily Googleable question - you'll often find answers more quickly if you do a little searching yourself.
 
Old 03-24-2009, 04:44 AM   #3
rozilla
Member
 
Registered: Dec 2006
Distribution: Ubuntu 8.04
Posts: 72

Original Poster
Rep: Reputation: 15
Thumbs down

Quote:
Originally Posted by AlucardZero View Post
And sorry, but this is an easily Googleable question - you'll often find answers more quickly if you do a little searching yourself.
Well, you need to take your own advice. You see, I have googled, and thus found out that TMOUT will only log users out with open terminals. If you're logged into the desktop and the terminal is not open, you'll stay logged in with or without TMOUT.

Maybe next time before you go off on someone, you make sure you know what you're talking about.
 
Old 03-24-2009, 11:46 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
You didn't mention a desktop or a GUI - sorry, I failed the mind reader exam.

I by no means "went off" on you - I was far more polite than many would have been.

So since you've looked already, you know about the screensaver options and I don't have to suggest that.
 
Old 03-24-2009, 06:06 PM   #5
rozilla
Member
 
Registered: Dec 2006
Distribution: Ubuntu 8.04
Posts: 72

Original Poster
Rep: Reputation: 15
I don't want to lock the session with a screensaver. I said I want the user logged out, after a predetermined idle-time. Geeeez!
 
  


Reply

Tags
idle, logout, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically Disconnecting Users After Five Minutes Idle Time kaplan71 Linux - Server 3 05-21-2008 10:13 PM
Auto log off idle users? uid0sd Linux - Software 2 03-20-2007 03:31 PM
turn off LCD automatically when idle? houler Slackware 18 04-24-2005 03:02 PM
shutdown automatically if linux system is idle for sometime ahalya Linux - Software 1 03-30-2005 12:39 AM
How do I make KDE 3.2.1 not log off idle users? rende Linux - Newbie 0 05-12-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration