LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-04-2006, 09:37 PM   #1
Synesthesia
Member
 
Registered: Jan 2004
Location: the abyss
Posts: 209

Rep: Reputation: 30
xlock insecure...


I just realized there is a huge security flaw in xlock (hopefully just the version I have). It's purpose is to lock x windows when your away. The problem is that you can just hit ctl-alt-backspace, and your in! I would appreciate responces with solutions. Thanks.
 
Old 02-04-2006, 10:27 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
While this is in reference to XScreenSaver, it also applies to xlock: http://www.jwz.org/xscreensaver/faq.html#no-ctl-alt-bs
 
Old 02-04-2006, 10:57 PM   #3
Synesthesia
Member
 
Registered: Jan 2004
Location: the abyss
Posts: 209

Original Poster
Rep: Reputation: 30
I can't disable it for xlock without disabling system wide? I would like to be able to kill xwindows if it freezes...
 
Old 02-04-2006, 11:09 PM   #4
Synesthesia
Member
 
Registered: Jan 2004
Location: the abyss
Posts: 209

Original Poster
Rep: Reputation: 30
You can also bypass xlock by using ctl alt f1. Is there a way to disable that in xlock without disabling it out of xlock (for it is very useful, and being handicapped just because I use xlock is stupid.

This may be for no reason because this can all be accomplished by: exiting to tty0 and logging out, and then logging in and using alt f7........
 
Old 02-04-2006, 11:13 PM   #5
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Wait, did you say that ctl-alt-bkspace kills xlock but returns you to your logged in state? Or does it kill X and bring you back to a login prompt?

These are two different things...

If you're using startx, try
startx ; logout

That way, when you exit X you're logged out automatically. So no one can kill X and be logged in as you.
 
Old 02-05-2006, 12:36 AM   #6
Synesthesia
Member
 
Registered: Jan 2004
Location: the abyss
Posts: 209

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by frob23
Wait, did you say that ctl-alt-bkspace kills xlock but returns you to your logged in state? Or does it kill X and bring you back to a login prompt?

These are two different things...

If you're using startx, try
startx ; logout

That way, when you exit X you're logged out automatically. So no one can kill X and be logged in as you.
Just what I was looking for, thanks.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automate Xlock? dauphinfay Linux - Software 2 08-14-2005 03:05 AM
how is an XLock effective? fibbi Linux - Software 3 10-13-2004 08:53 AM
xlock and passwords nouwen Linux - Newbie 1 05-25-2004 05:03 AM
Xlock / Xlock more with enterprise authentication yasir15 Linux - Software 0 04-20-2004 11:47 AM
xlock in kde rile0161 Linux - General 0 06-06-2001 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:58 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