How to lock screen

Nathaniel Hall nathaniel.d.hall at gmail.com
Mon Apr 10 13:43:19 UTC 2006


Are any of these actually answers to his question?  Sure, go ahead and 
educate a user as to why you shouldn't be logged in as root, but also 
give him the answer he wants. 

Patrick,
I understand why you want this.  Not only for root, but for any user.  
If you are running KDE (I'm not sure if it is the same in Gnome) the 
default is Alt+Ctrl+L.  If you would like to change it, go to the 
Control Center and click on Regional & Accessibility.  After that, make 
sure the Shortcut Schemes tab is selected.  Scroll to the bottom and 
find the Desktop section.  Lock Session is one of the options and you 
can change the combination can be changed there.

I hope that helps.

Patrick Derwael wrote:

>I've had a few questions and suggestions on this post:
>
>"why don't you logout" --> because I'm running a number of interactive
>processes I don't want to interrupt
>
>"use screen" --> screen allows me indeed to lock a terminal, but does not
>prevent from starting other terminals from the console.
>It's actually the console I want to lock, this is why I looked at
>xscreensaver.
>
>"sudo is your friend" --> actually, this is a  polite way of saying "do
>things the right way" !
>I believe that if I can't find a way to get xscreensaver to run as root, I
>will have to rethink my access rights and to do things in a more standard
>fashion...
>
>Thanks anyhow
>
>On Sat, April 8, 2006 3:40 pm, Patrick Derwael said:
>  
>
>>Hi list
>>
>>I'm trying to find a way to "lock screen" when logged on as root on the
>>console of a RHEL4 box
>>I know that everyone will say "don't do this", but nevertheless, that is
>>what I really want to do...
>>In a few words: this is a box on which security is not an issue, I just
>>want to prevent curious fingers to mess around with my desktop when I'm
>>away (you know, we name them something like 'kids')
>>
>>I went through the xscreensaver doc, but it didn't help, 'xhost +' didn't
>>either
>>
>>Any clue is welcome
>>


-- 
Nathaniel Hall, GSEC GCFW GCIA




More information about the redhat-list mailing list