blob: 9124cb9d1d9957aa55a1154c95da68b11dd80862 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?xml version="1.0" encoding="UTF-8"?>
<ipa xmlns="http://freeipa.org/xml/rng/sudo/1.0">
<metadata>
<name>simple sudoers example, allowing mount/umount of a CD-ROM</name>
<author>sbose@redhat.com</author>
<version>0.7071</version>
<RNGfile>sudoers.rng</RNGfile>
<XSLTfile>sudoers.xsl</XSLTfile>
<app>sudo</app>
</metadata>
<ipaconfig>
<sudoers>
<netgroup>abc</netgroup>
<command>/sbin/umount /CDROM</command><NOPASSWD/><runas>root</runas>
<authenticate>true</authenticate>
<!-- <command><path>/sbin/mount -o nosuid,nodev /dev/cd0a /CDROM</path></command>-->
</sudoers>
<sudoers>
<group>def</group>
<authenticate>false</authenticate>
</sudoers>
<sudoers>
<command>/sbin/shutdown -r now</command>
<lecture>always</lecture>
</sudoers>
</ipaconfig>
</ipa>
|