Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MrCheeto

Suspended
Original poster
Nov 2, 2008
3,531
353
I need to view another user's Keychain via Terminal

I'm unable to log into the other user account on my mac, but I just need a single Safari password in that account's Keychain.

How do I access their Keychain data from my main user?

It's my mac, nobody else's profiles are on here, no worries :p

So how do I access it

or

How do I switch users via Terminal?
 
The guest account has the home directory deleted every time it is logged out. It isn't meant to be an account to store anything.
 
But it hasn't been logged out!

It just disappeared from the login window! It's still running as it says Safari is open via Guest in the Activity Monitor!

I need to get into Guest!
 
Can't say. I have data on a website that will allow me to make a purchase sooner that will allow me to go home sooner.

I was in the Guest Account the whole time and it has not been logged out.

I was using the Guest Account to enter the information. I click "remember me" and it saved the login info of that website.

Somebody claims they tried to create a password for Guest...I know, anyway when I got my computer back, I went to the login window, and no Guest.

When I check activity monitor, I see processes running under Guest, including Safari. When I "w" in Terminal it lists Guest as a user.

It simply isn't appearing in the login window! Here's something even stranger:

aekJ


How is it logged in, yet sharing only???

Is there a way I can change it to "Allow Guests to log into this computer" using Terminal???
 
Currently, yes. It's my computer, all the accounts are mine. Nothing fishy going on -.-'
 
If the guest account is set to sharing only (the default) you should be able to go to System Preferences > Accounts >Authenticate by click padlock at lower left > Guest Account > Allow guests to log in to this computer.
 
I don't have access to that window since it's already logged in, yano?

I'd have to log that user out before I could change its settings.

So I'm just looking for a way to override that.

You know, there HAS to be a way to modify that setting via Terminal, I know it!!
 
Thanks, but I must point out that I am unable to log out or restart because it will destroy all of the Guest's data!
 
When I enabled root, it allows me to click Other and type any other name I choose.

w in the Terminal returns the name Guest and says it's logged in.

So I type Guest and leave the password blank, and it denies it.

I am able to use Guest through Terminal by typing su - Guest! So just, how can I access saved passwords from the Guest account via Terminal, assuming I am running FROM guest?

I was able to open iCal and quit it from the terminal inside of Guest!!! This means I basically have full CL control of the Guest account! Now just how do I get the passwords? Are they ONLY going to be in keychain??
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.