Elevated permissions API

The elevate vocabulary provides abstractions for running programs with elevated (administrator) privileges (permissions). It allows code to relaunch itself or other programs with administrator privileges after requiring a password.

This vocabulary is inspired by and ported from Barney Gale's elevate.py.

already-root? ( -- ? )

elevate ( win-console? posix-graphical? -- )

elevated ( command replace? win-console? posix-graphical? -- process )

lowered ( -- )

However, there are many caveats: Elevate bugs and caveats.