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 > OS X security hole

OS X security hole
Thread Tools
Junior Member
Join Date: Aug 2000
Status: Offline
Reply With Quote
Nov 21, 2001, 12:47 PM
 
10.1.1

If you set your screensaver to prompt the user for a password, any admin-priviledged user can get out of the screensaver.

For example

User A is logged in and turns screensaver on with password protection

User B can enter their name and password and get into User A's session.

Has anyone found a way to prevent this?

-'tooth
     
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Nov 21, 2001, 01:02 PM
 
Isn't this a good thing? What else would you do if someone locks the machine with the screensaver and refuses to come back?

Just don't give admin acounts to people you don't trust.
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
Dedicated MacNNer
Join Date: May 2001
Location: Glasgow, UK
Status: Offline
Reply With Quote
Nov 21, 2001, 01:04 PM
 
I locked the screen with my admin account, and was able to unlock it with root account.
Hmm.. annoying...

We need a patch for this although I am the only one person who use my Mac.

[ 11-21-2001: Message edited by: sungwoo ]
     
Mac Enthusiast
Join Date: Sep 2000
Location: Louisiana
Status: Offline
Reply With Quote
Nov 21, 2001, 01:17 PM
 
Yes, root is superuser account above all admin accounts. What we would not want is a non admin account to be able to use username and password for getting through a screensaver that is locked with a password.

However if admin b uses his username and password in admin a's session, the OS should save all currently open documents, logout, and let b relogin to gain access to the computer, that way, he does not have access to admin a's session.
B&W G3/300 OS X 10.3 Server
AL G4/1.5 OS X 10.3
Next computer G5/3.X Ghz OS X 10.x.x
     
Professional Poster
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Nov 21, 2001, 01:23 PM
 
I don't see why this is a problem. Admin users are meant to be *TRUSTED*. I mean, admin users can be root if they want to (they are automatically sudoers unless you manually change that), so I don't see the problem with giving them access to others' login sessions.
     
Mac Enthusiast
Join Date: Sep 2000
Location: Louisiana
Status: Offline
Reply With Quote
Nov 21, 2001, 01:49 PM
 
Yes, they are meant to be trusted with using the computers, but are they trusted enough for the information they could possibly see?
B&W G3/300 OS X 10.3 Server
AL G4/1.5 OS X 10.3
Next computer G5/3.X Ghz OS X 10.x.x
     
Dedicated MacNNer
Join Date: Oct 2001
Location: Philly
Status: Offline
Reply With Quote
Nov 21, 2001, 03:43 PM
 
Originally posted by jguidroz:
<STRONG>Yes, they are meant to be trusted with using the computers, but are they trusted enough for the information they could possibly see?</STRONG>
Admin users are equivalent to root users. Root users can see everything, change everything, and execute everything. Under OS X defaults, there is no file on the computer that an admin user cannot read, write, or execute. If you don't trust someone to see everything, you should not make them admin users. You could try giving them limited access under sudo (man sudoers), although sudoers might be pre-empted by something in NetInfo.

Back to the discussion at hand, this is not a security hole. This is a design choice, and a very reasonable one at that. Your security policy and your willingness to assign admin privs needs to take into account the fact that an admin user can do everything and anything that root can do. Most X11 screensavers allow the root user to unlock the screen. Practically speaking, there is no way to prevent it, either - the root user can simply ssh into the box, and kill the screensaver from the command line, or change the other user's password and then unlock the screensaver with the new password. It is easier to provide a method for root to do this cleanly.
     
Mac Elite
Join Date: Nov 2000
Location: Norway (I eat whales)
Status: Offline
Reply With Quote
Nov 21, 2001, 03:45 PM
 
Paranoid people..

Seems logical to me that an administrator should have possible access to the computer at any time. It's their job to a-d-m-i-n-i-s-t-r-a-t-e the computer right? If you can't trust the administrator, don't blame the system.

Sniffer gone old-school sig
     
   
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 05:37 PM.
All contents of these forums © 1995-2009 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.4 © 2000-2009, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2