Bug 426095 - [PATCH] allow include of other console.apps config files
[PATCH] allow include of other console.apps config files
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: usermode (Show other bugs)
8
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-18 09:46 EST by Carlo de Wolf
Modified: 2008-01-10 16:50 EST (History)
2 users (show)

See Also:
Fixed In Version: 1.94-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-10 16:50:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Carlo de Wolf 2007-12-18 09:46:59 EST
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 09:46:59 EST
Created attachment 289893 [details]
Allow include directive
Comment 2 Miloslav Trmač 2008-01-10 16:50:35 EST
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.