OSX su command issue

kapso picture kapso · Sep 27, 2011 · Viewed 45.8k times · Source

So I cant get su command to work on a terminal. All I do is type "su" and press enter, it asks for the password and I enter my currently logged in user password. It always gives this error. I swear this used to work earlier, not sure what happened.

su: Sorry

I am running a Mac OSX 10.7.1 (Lion). Anyone know what could be wrong? I am entering the right password.

Answer

Nehemias Herrera picture Nehemias Herrera · May 22, 2013
sudo su

will do the trick in Mac Os X terminal :)