C Board  

Go Back   C Board > Community Boards > General Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 11-05-2009, 02:50 AM   #1
Registered User
 
Join Date: Oct 2009
Posts: 46
how to lock my screen in RHEL5 in root mode

I am able to lock the screen on my RHEL 5 as a regular user
but as root it will not lock the screen when I clcik the lock
icon. What is the command line to do this?


i look for your further replys
nkrao123@gmail. is offline   Reply With Quote
Old 11-05-2009, 05:36 AM   #2
&TH of undefined behavior
 
Fordy's Avatar
 
Join Date: Aug 2001
Posts: 5,183
Not sure, but should you be logged onto a desktop environment as root? Better to use a normal user and sudo anything you need higher privs for
__________________
"If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
Albert Einstein (1879 - 1955)


Board Rules
Fordy is offline   Reply With Quote
Old 11-05-2009, 05:38 AM   #3
Registered User
 
Join Date: Oct 2009
Location: While(1)
Posts: 316
If you are using GNOME on RHEL just try to do it with CTRL+ALT+l
RockyMarrone is offline   Reply With Quote
Old 11-05-2009, 05:39 AM   #4
Registered User
 
Join Date: Oct 2009
Location: While(1)
Posts: 316
For sudo just add your user to /etc/sudoers
RockyMarrone is offline   Reply With Quote
Old 11-05-2009, 10:13 AM   #5
Senior software engineer
 
brewbuck's Avatar
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 5,381
Logging into X as root is moronic.
__________________
"Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot
brewbuck is offline   Reply With Quote
Old 11-05-2009, 02:00 PM   #6
Jaxom's & Imriel's Dad
 
Kennedy's Avatar
 
Join Date: Aug 2006
Location: Alabama
Posts: 801
Nah, I'm root. . . I'm running X. . . done it for _YEARS_ . Never had a problem. One just needs to remember that one can toast one's self if one does something moronic. Logging into x as root != moronic -- doing stupid things as root == moronic. One needs not be in X to do stupid things as root.
Kennedy is offline   Reply With Quote
Old 11-05-2009, 11:52 PM   #7
&TH of undefined behavior
 
Fordy's Avatar
 
Join Date: Aug 2001
Posts: 5,183
Quote:
Originally Posted by Kennedy View Post
Nah, I'm root. . . I'm running X. . . done it for _YEARS_ . Never had a problem. One just needs to remember that one can toast one's self if one does something moronic. Logging into x as root != moronic -- doing stupid things as root == moronic. One needs not be in X to do stupid things as root.


Its not just what you do. If you inadvertently run malicious code as root, then that code has root privs too. Do the sensible thing - setup sudo and get a proper account
__________________
"If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
Albert Einstein (1879 - 1955)


Board Rules
Fordy is offline   Reply With Quote
Old 11-06-2009, 12:26 AM   #8
Woof, woof!
 
zacs7's Avatar
 
Join Date: Mar 2007
Location: Australia
Posts: 3,139
Quote:
Originally Posted by Kennedy View Post
Nah, I'm root. . . I'm running X. . . done it for _YEARS_ . Never had a problem. One just needs to remember that one can toast one's self if one does something moronic. Logging into x as root != moronic -- doing stupid things as root == moronic. One needs not be in X to do stupid things as root.
And what about software defects? I'm sure that will NEVER happen :\. What you're doing is moronic.
__________________
"I.T. gets the chicky-babes" - M. Kelly
bakefile | vim
zacs7 is offline   Reply With Quote
Old 11-06-2009, 12:30 AM   #9
Registered User
 
Join Date: Dec 2006
Posts: 1,780
And people have been drunk driving and still alive, for now.
cyberfish is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bisection Method function value at root incorrect mr_glass C Programming 3 11-10-2005 09:10 AM
Running in full screen mode! Skute Game Programming 0 12-10-2001 03:56 AM
How do I refresh the screen in Mode X(unchained)? frenchfry164 A Brief History of Cprogramming.com 10 10-27-2001 01:13 PM
How do I refresh the screen in Mode X(unchained)? frenchfry164 C++ Programming 1 10-22-2001 01:58 AM
need help in making graphics in C++ Unregistered A Brief History of Cprogramming.com 10 10-21-2001 12:14 PM


All times are GMT -6. The time now is 03:47 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22