Voir :
Voir aussi :
usermode contains the userhelper program, which can be used to allow configured programs to be run with superuser privileges by ordinary users, and several graphical tools for users:
sudo /usr/sbin/userhelper -t -w subscription-manager identity
/etc/security/console.apps/config-util
USER=root UGROUPS=wheel
/etc/security/console.apps/subscription-manager
USER=root PROGRAM=/usr/sbin/subscription-manager SESSION=true
# ls -l /usr/bin/subscription-manager lrwxrwxrwx. 1 root root 22 Feb 23 07:16 /usr/bin/subscription-manager -> /usr/bin/consolehelper # grep '^PROGRAM=' /etc/security/console.apps/subscription-manager PROGRAM=/usr/sbin/subscription-manager
/etc/pam.d/sleep
#%PAM-1.0 auth include config-util account include config-util session include config-util
ou
/etc/pam.d/sleep
#%PAM-1.0 auth sufficient pam_rootok.so auth required pam_warn.so auth required pam_deny.so auth include system-auth account include system-auth password include system-auth session include system-auth
/etc/security/console.apps/sleep
USER=root #UGROUPS=wheel PROGRAM=/usr/bin/sleep SESSION=true #KEEP_ENV_VARS=http_proxy,ftp_proxy #FALLBACK=yes
/usr/sbin/userhelper -t -w sleep 1