0

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

1
  • What makes you think you should have access to a resource you don't have the required credentials for? It sounds counter-intuitive. Mar 13, 2012 at 9:50

2 Answers 2

1

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.

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .