KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Elevated Privileges on macOS using sudo
PRODUCT: 4D | VERSION: 16 | PLATFORM: Mac OS X
Published On: January 18, 2018

This technical note describes the general concepts of customizing the functionality of sudo by using the /etc/sudoers file. Specifically, the goal of this tech note is to allow commands to be execute with elevated privileges without needing to re-enter the admin password. Two techniques are presented, one for allowing ALL commands and the other for allowing only specifically named commands. A sample database is included that provides an interface for adding commands to this file, and an interface for testing the commands from within 4D. This information should provide the 4D developer with the advanced knowledge necessary to work with elevated privileges on the macOS operating system.

Download Complete Tech Note: Tech Note Document