192 |
- |
1 |
<?xml version="1.0"?>
|
|
|
2 |
|
|
|
3 |
<!-- This configuration file snippet controls the oddjob daemon. It
|
|
|
4 |
provides access to mkhomedir functionality via a service named
|
|
|
5 |
"com.redhat.oddjob_mkhomedir", which exposes a single object
|
|
|
6 |
("/").
|
|
|
7 |
The object allows the root user to call any of the standard D-Bus
|
|
|
8 |
introspection interface's methods (these are implemented by
|
|
|
9 |
oddjobd itself), and also defines an interface named
|
|
|
10 |
"com.redhat.oddjob_mkhomedir", which provides two methods. -->
|
|
|
11 |
|
|
|
12 |
<oddjobconfig>
|
|
|
13 |
|
|
|
14 |
<service name="com.redhat.oddjob_mkhomedir">
|
|
|
15 |
|
|
|
16 |
<object name="/">
|
|
|
17 |
|
|
|
18 |
<interface name="org.freedesktop.DBus.Introspectable">
|
|
|
19 |
|
|
|
20 |
<allow min_uid="0" max_uid="0"/>
|
|
|
21 |
<!-- <method name="Introspect"/> -->
|
|
|
22 |
|
|
|
23 |
</interface>
|
|
|
24 |
|
|
|
25 |
<interface name="com.redhat.oddjob_mkhomedir">
|
|
|
26 |
|
|
|
27 |
<method name="mkmyhomedir">
|
|
|
28 |
<helper exec="/usr/libexec/oddjob/mkhomedir"
|
|
|
29 |
arguments="0"
|
|
|
30 |
prepend_user_name="yes"/>
|
|
|
31 |
<!-- no acl entries -> not allowed for anyone -->
|
|
|
32 |
</method>
|
|
|
33 |
|
|
|
34 |
<method name="mkhomedirfor">
|
|
|
35 |
<helper exec="/usr/libexec/oddjob/mkhomedir"
|
|
|
36 |
arguments="1"/>
|
|
|
37 |
<allow user="root"/>
|
|
|
38 |
</method>
|
|
|
39 |
|
|
|
40 |
</interface>
|
|
|
41 |
|
|
|
42 |
</object>
|
|
|
43 |
|
|
|
44 |
</service>
|
|
|
45 |
|
|
|
46 |
</oddjobconfig>
|