Bug 236820 - oddjob: drop "dangerous" bits from /etc/oddjobd.conf
oddjob: drop "dangerous" bits from /etc/oddjobd.conf
Product: Fedora
Classification: Fedora
Component: oddjob (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-04-17 15:52 EDT by Chris Weyl
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: 0.29-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-05 20:10:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Weyl 2007-04-17 15:52:09 EDT
/etc/oddjobd.conf contains a couple stanzas which, while they should "never" be
accessible (e.g. the reboot method) still should probably not be in the "real"
config.  Any chance we could drop these stanzas and put them in a sample config,
say under %doc somewhere?

For reference:

        <method name="reboot">
          <helper exec="/sbin/reboot" arguments="0"/>

        <method name="mkmyhomedir">
          <helper exec="/usr/lib/oddjob/mkhomedir" arguments="0"
          <allow user="root"/>

        <method name="mkhomedirfor">
          <helper exec="/usr/lib/oddjob/mkhomedir" arguments="1"/>
          <allow user="root"/>
Comment 1 Nalin Dahyabhai 2007-09-05 17:16:32 EDT
I'm happy to drop the "reboot" bit, but I'll move the mkhomedir bits to a
subpackage for 0.29 rather than drop it out.

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