Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.