Bug 426095

Summary: [PATCH] allow include of other console.apps config files
Product: [Fedora] Fedora Reporter: Carlo de Wolf <cdewolf>
Component: usermodeAssignee: Miloslav Trmač <mitr>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8CC: mitr, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.94-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-10 21:50:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Allow include directive none

Description Carlo de Wolf 2007-12-18 14:46:59 UTC
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)

Comment 1 Carlo de Wolf 2007-12-18 14:46:59 UTC
Created attachment 289893 [details]
Allow include directive

Comment 2 Miloslav Trmač 2008-01-10 21:50:35 UTC
Applied in rawhide usermode-1.94-1.

Thank you!