Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > escaping screen saver when logged in a Terminal session as root

escaping screen saver when logged in a Terminal session as root
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Dec 25, 2002, 05:59 PM
 
hi all,

has anybody experienced problems escaping their screen saver when they have a Terminal session open, logged in as root? i was root in a terminal the other day, and i invoked the screen saver to show a friend something, and when i tried to escape it, well....i couldn't! nothing i did escaped the screensaver, and i ended up having to force shutdown with the power button (highly drastic and completely undesireable, but as far as i was able to determine, unavoidable).

i'm not sure if having Terminal open, logged in as root, causes this behavior or not. that's part of the reason why i'm making this post! the other thing i should mention is that i had password protection on at the time....so i was thinking maybe, being logged into a Terminal as root, using a root password which is wholly different from my default user admin password, might have something to do with why it froze up on me.

has anybody run into anything similar to this? again, i'm not sure any of the above (logged into Terminal as root, password-on-screensaver activated) played any kind of a causal role, but it seems a bit too weird to be merely a coincidence.

all insight is welcome!
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 25, 2002, 06:20 PM
 
Just tried it, worked as expected. I can see no way in which having a Terminal open as root would affect the behaviour of the screensaver, either, but with OS X anything is possible
     
Ambrosia - el Presidente
Join Date: Sep 2000
Location: Rochester, NY
Status: Offline
Reply With Quote
Dec 25, 2002, 06:38 PM
 
Standard disclaimer about logging in as root: it really is a very bad idea; you an inadvertantly muck up permissions in a major way, and cause other kinds of trouble, even if you "know what you're doing".

Okay, with that preaching out of the way, you might consider installing EscapePod for such emergency situations.

It is a free little program that will kill either the frontmost app, or force-logout, by hitting a keystroke:

http://www.AmbrosiaSW.com/utilities/freebies/
Andrew Welch / el Presidente / Ambrosia Software, Inc.
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Dec 25, 2002, 09:23 PM
 
Grammar problem in the original post...

Are you saying that you're logged in as root, and have a Terminal session open? Or are you logged in as someone else, and have a Terminal open where you've su'd to root?

As moki says, logging in as root via the GUI is unnecessary and monumentally foolish. On the other hand, su'ing to root in the Terminal, while not as safe as using sudo, is still safer.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Grizzled Veteran
Join Date: Sep 2000
Location: The Basement
Status: Offline
Reply With Quote
Dec 25, 2002, 10:34 PM
 
What screensaver module? The MacAquarium one did this to me the other day.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 26, 2002, 07:00 AM
 
Originally posted by Millennium:
On the other hand, su'ing to root in the Terminal, while not as safe as using sudo, is still safer.
How is it any less safe than using sudo?
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Dec 26, 2002, 07:47 AM
 
Originally posted by Angus_D:
How is it any less safe than using sudo?
It's only less safe in that su drops you to a shell, whereal sudo executes the command for you and then gets out of root. That leaves a somewhat greater possibility for errors. Of course, you can just sudo yourself a shell, and then there's no difference at all, but other than that, sudo is just an extra level of caution more than anything else.

It's not much safer than su, just a little. Enough that while it's somewhat preferable to use sudo it's not really worth getting worked up about. Unlike, say, logging in as root.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:09 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2