Benches macOS

2

How to launch an App with Root privileges…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Is there a reliable way to launch an Application so that it can run with "root" privileges, but without enabling the OSX root account and logging in to that account?

There is an old (and, presumably, obsolete) application called "Pseudo" which used to facilitate this, but I doubt it would be safe or reliable under OSX 10.5.

So, does anyone have any suggestions?

2 replies

Sign in or join Beachball Help to reply.

  1. 0

    brainslice

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This can be done via Terminal.

    For example, to launch TextEdit as root:

    sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit

  2. 0

    Niel

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    For a more permanent method, run the following command on the same file:

    sudo chmod u+s

    if the item is owned by root. This may be undone by the repair permissions command.

    (27138)