To allow for a single to configure global settings for userhelper an include directive is needed in the configuration parsing. This allows easy configuration for following scenarios; 1. always ask for root passwd USER=root 2. ask for user passwd if user is in group wheel, else ask root passwd USER=root UGROUPS=wheel 3. ask for user passwd if user is in group wheel, else disallow USER=<none> UGROUPS=wheel By creating a single file with one the above settings and including that file in each other config the system can easily be reconfigured. A file can be included by using '.'. For example: # cat /etc/security/console.apps/pup . default PROGRAM=/usr/sbin/pup SESSION=true KEEP_ENV_VARS=http_proxy,ftp_proxy (patch does not include translations)
Created attachment 289893 [details] Allow include directive
Applied in rawhide usermode-1.94-1. Thank you!