LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 08-29-2005, 01:05 PM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
how to lock an addict out of your system?


ok long story short - my sister fell on hard times and is going to be driving back home. There is a good chance she will have to stay in my room. Problem is she is a chat/internet addict. How can i effectively lock her out of my system without making it a hassle for when i want to use it? It shouldn't be hard she doesn't know linux at all. thanks for any replies in advance.
 
Old 08-29-2005, 01:19 PM   #2
guild
Member
 
Registered: Aug 2003
Location: United States
Distribution: Auditor Linux
Posts: 64

Rep: Reputation: 15
seriously? i'm confused. why not just use a password?
 
Old 08-29-2005, 01:22 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
or just turn the computer off....

how bizarre...
 
Old 08-29-2005, 01:39 PM   #4
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
well i don't want to have to login in and out everytime i want to use my computer and i definately don't want to turn it on and off anytime i want to use it. I don't want to be inconvienced because she has no sense of responsibility.
 
Old 08-29-2005, 01:48 PM   #5
guild
Member
 
Registered: Aug 2003
Location: United States
Distribution: Auditor Linux
Posts: 64

Rep: Reputation: 15
i am so confused...

you don't want to log in and out every time you use the computer? seriously? you consider typing a username and password to be that difficult?

i can honestly say that i've never heard someone complain that a username and password is too demanding...

i doubt you will find an easier solution...
 
Old 08-29-2005, 01:52 PM   #6
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
it isn't difficult but i don't normally have to do it. i don't want to have start now. just forget i even asked.
 
Old 08-29-2005, 01:52 PM   #7
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Cover your keyboard in spaghetti sauce every time you're done using it.
No one wants to use a slimy keyboard.
 
Old 08-29-2005, 01:53 PM   #8
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
well that is an idea you have there. Little extream but i could unplug the keyboard and put it away.
 
Old 08-29-2005, 01:55 PM   #9
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Come to think of it "xlock" is probably exactly what you need.
It's slightly easier than logging out.
 
Old 08-29-2005, 02:03 PM   #10
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 47
Get your sis a reasonably price basic system and hook up a shared connection so you can both be on... If your on Dial up then maybe she could get her own line and Internet connection then you wont be fighting over computing time...

Or just tell her that LQ is a secret government agency and it is imparitive that I logon immediately...!!!

KC
 
Old 08-29-2005, 02:34 PM   #11
it-s
Member
 
Registered: Nov 2004
Location: Canada
Distribution: SUSE 10
Posts: 69

Rep: Reputation: 15
Are you running KDE or GNOME?

If I have got you right you want to lock an unwanted visitor out of your system without going through a hassle of Log Out/Log In process.

If so and you are a KDE user (don't know GNOME) - please read on:

For a KDE user:

1. got to K Menu > and select Control Center
PROCEED IF YOU HAVE NO PASSWORD FOR YOUR IDENTITY (usualy on linux you should), ELSE SKIP STEPS 2 to 5
2. once there select "Security & Privacy" tab
3. select "Password & User Account"
4. click "Change Password..." button at the bottom and follow the instructions there
NOW THAT YOU HAVE A PASSWORD PROTECTION FORR YOUR IDENTITY:
5. click "Apply" button in the right-bottom corner, then "Back" button (it's in the top-left corner)
6. click "Appearance & Themes"
7. click "Screen Saver" tab
8. make sure the check boxes "Start automatically" and "Require password after stop" are checked; also adjust the delays (the numbers on "Auto" lines) according to your preferences.
9. click "Apply" button in the right-bottom corner, then click "Back" button
10. click "Regional & Accessibility"
11. click "Keyboard Shortcuts"
12. Now, for the next and final step we will need "pause/break" function button of your actual physical keyboard; it's usually located in the top-right corner, next to the "scroll lock" button. (please make sure this button isn't already in use. to do so please press the button and wait for a while - if there was no effect it isn't in use and we can preceded)
13. in the "Keyboard Shortcuts" tab make sure you are on "Shortcut Schemes" sub-tab and "Global Shortcuts" sub-sub-tab
14. Enter a word "Lock" in the "Search" line at the top of "Global Shortcuts" sub-sub-tab
15. Only one "Action" should become visible in the table under: "Lock Session" it is.
16. Click on that ("Lock Session") entry.
17. At the bottom of the window, under the table where actions are listed there is a "Shortcut for Selected Action" area. In that area click upon a square shape that looks like a button.
18. A new window called "Configure Shortcut" is now visible. In this window there are two entries: "Primary Shortcut" and "Alternate Shortcut"
19. Click on "X" button located to the right of "Primary Shortcut" label - a square on the right should become empty now. Once it does press "Pause" button on your physical keyboard.
A "Configure Shortcut" window should now close automatically and a square shape that looks like a button should now have a word Pause written on it.
20. click "Apply" button in the right-bottom corner.
21. Close Control Center.

From now on, whenever you have to leave your room, all you have to do is press "Pause" button on your keyboard and your computer will be locked automatically. Later, once back, all you have to do is enter your password to unlock the computer.

Hope this helps.

(wish I could provide some pictures to illustrate the process, but I have nowhere to host them )


Best regards,

it-s
 
Old 08-29-2005, 02:59 PM   #12
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
thanks. im using gnome but i was able to use your basic concept to accomplish it. all i had to do was go to preferences > keyboard shortcuts and make it so lock session was pause/break button. i think also i will put a post it next to the monitor that has my "password" (i'll just put a fake password) and she might try it and wonder why it isn't work and give up.

Last edited by dr_zayus69; 08-29-2005 at 03:02 PM.
 
Old 08-29-2005, 03:01 PM   #13
it-s
Member
 
Registered: Nov 2004
Location: Canada
Distribution: SUSE 10
Posts: 69

Rep: Reputation: 15
Glad I could help even just a little.

it-s
 
Old 08-29-2005, 03:03 PM   #14
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
one question. Well she be able to just shut the computer off and back on to try to get into the system? When the session is locked she may think the computer is off and try turning it on.
 
Old 08-29-2005, 03:17 PM   #15
it-s
Member
 
Registered: Nov 2004
Location: Canada
Distribution: SUSE 10
Posts: 69

Rep: Reputation: 15
I don't know how GNOME handles session locking, but on KDE it will run screensaver, therefore indicating that PC is ON. If, on a countrary, she will try to reset your PC... You have to make sure "Autologin" is turned off on your system.

All the best.

it-s
 
  


Reply


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
System Lock Up on 10.1 but not 10.0 kalmite Slackware - Installation 0 04-15-2005 06:34 PM
fedora core 2 system lock-up leon_leon Linux - Newbie 1 11-15-2004 12:47 PM
debugging a system lock ajm10000 Linux - Newbie 1 09-18-2002 09:06 PM
System Lock Up tangle Linux - General 2 09-05-2002 12:14 AM
kjournald seems to lock system when it runs jfraney Linux - Software 0 03-18-2002 03:43 PM


All times are GMT -5. The time now is 02:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration