Commit 61b3adc5 authored by David Zeuthen's avatar David Zeuthen

add an example of how define_admin_auth is used

Based on input from Ken VanDine

http://lists.freedesktop.org/archives/hal/2007-August/009402.html
parent ba0e33be
......@@ -326,7 +326,26 @@
results specified in the <emphasis>.policy</emphasis> file
describing the action.
</para>
</refsect2>
<refsect2>
<title>AVOIDING THE ROOT PASSWORD</title>
<para>
Suppose the group <emphasis>wheel</emphasis> contains the
users on a system who are allowed to carry out administrative
tasks (ie. tasks that would usually require the root password)
on a system where the root account is disabled. Then
</para>
<programlisting>
<![CDATA[
<define_admin_auth group="wheel"/>
]]>
</programlisting>
<para>
can be used to specify that users in said group can
authenticate using their own password in instances where the
system would normally prompt for the root password.
</para>
</refsect2>
</refsect1>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment