Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have the admin password to a remote computer(mac). How can I access another user that I do not have the password of?

share|improve this question
    
What makes you think you should have access to a resource you don't have the required credentials for? It sounds counter-intuitive. –  Oliver Salzburg Mar 13 '12 at 9:50

2 Answers 2

If you have the sudo password, then you should be able to run:

sudo su <username>

This will set your uid to the user you decide to login as.

share|improve this answer

If you are already root then sudo is not necessary. Just do

su - <username>

Without "-" it will not ne a login shell ie the UID/GID will be changed but the environment will not be updated.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.