Run as different user
Original Reporter info from Mantis: MarkMLl @MarkMLl
-
Reporter name: Mark Morgan Lloyd
Original Reporter info from Mantis: MarkMLl @MarkMLl
- Reporter name: Mark Morgan Lloyd
Description:
Attached patch adds "run as" UI elements to the "Compiler commands ... Execute after" section of the project options.
Rationale described at https://forum.lazarus.freepascal.org/index.php/topic,53541.0.html In brief, it's to allow POSIX capabilities or other installation steps to be executed as root/administrator.
Additional information:
Visually OK on Linux (KDE desktop) using the GTK2 widget set at the default 96dpi.
Expect some other system component (e.g. sudo on unix) to request authentication (a password etc.) and check authorisation .
I've left it disabled pending writing backend code, and haven't attempted to integrate it with i18n.
Mantis conversion info:
- Mantis ID: 38608
- Version: 2.1 (SVN)