How to: Run a command with elevated *admin* credentials on a Mac

Sometimes you need to run certain commands on the terminal with elevated credentials otherwise you won’t be able to make modifications to the operating system, etc. In order to run such a command you need to use ‘sudo’ to elevate your current session.

For example, you can run “sudo -s” and that will ask for your user credentials. Once you provide them you’ll be running in an elevated session so be careful of what you do.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.