Bug 426095 - [PATCH] allow include of other console.apps config files
Summary: [PATCH] allow include of other console.apps config files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: usermode
Version: 8
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-18 14:46 UTC by Carlo de Wolf
Modified: 2008-01-10 21:50 UTC (History)
2 users (show)

Fixed In Version: 1.94-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-10 21:50:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Allow include directive (2.16 KB, patch)
2007-12-18 14:46 UTC, Carlo de Wolf
no flags Details | Diff

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!


Note You need to log in before you can comment on or make changes to this bug.