On 17/06/2014 10:23, Rainer Stratmann wrote: > How to do that with automatic password from a freepascal program? e.g. using policykit; see http://wiki.lazarus.freepascal.org/Executing_External_Programs#Redirecting_input_and_output_and_running_under_root