Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the joys of macintosh administration



On 3/26/08 4:02 PM, "Jerry L. Blackmon II" <email@hidden>
wrote:

> On Mar 26, 2008, at 2:54 PM, Paul Teeter wrote:
> 
>> Not sure, but it had MANY capital letters.
> 
> Sorry, I forgot Open Directory and iCal Server were regular Mac OS X _client_
> technologies.

Neither "Open Directory" nor "iCal Server" appear in your original post.

In the spirit of community, I will offer a possible answer to one of your
actual questions. Let's say you have two local accounts: A and B. You know
the password to A, but not to B, and you want to log into the GUI as B.

In /var/db/shadow/hash, I believe you'll find the password hash files. They
are named with the UUID of the user each belongs to. If you temporarily set
aside the files for user B and replace them with copies of the files for
user A, user B now has user A's password. Do what you need to do as user B,
then reverse the process.

If this is something you do a lot, it would be easy to make a shell script
that does the swap for you, given two usernames.

BTW, I'm told this is something you can do with Open Directory users also.
Instead of replacing hash files, you modify the user record so that it
points to a different Password Server slot.

Matt
 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Re: the joys of macintosh administration (From: "Jerry L. Blackmon II" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.