clarify some acl wording, and add an example file

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10862 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-03-05 13:31:30 +00:00
parent 7866d0681c
commit ad84e7192d

View File

@@ -1,4 +1,6 @@
.Dd June 7, 2000 .\" $Id$
.\"
.Dd March 5, 2002
.Dt KADMIND 8 .Dt KADMIND 8
.Os HEIMDAL .Os HEIMDAL
.Sh NAME .Sh NAME
@@ -51,7 +53,7 @@ This daemon should only be run on ther master server, and not on any
slaves. slaves.
.Pp .Pp
Principals are always allowed to change their own password and list Principals are always allowed to change their own password and list
their own principals. Apart from that, doing any operation requires their own principal. Apart from that, doing any operation requires
permission explicitly added in the ACL file permission explicitly added in the ACL file
.Pa /var/heimdal/kadmind.acl . .Pa /var/heimdal/kadmind.acl .
The format of this file is: The format of this file is:
@@ -61,10 +63,10 @@ The format of this file is:
.Op Va principal-pattern .Op Va principal-pattern
.Ed .Ed
.Pp .Pp
Where rights is any combination of: Where rights is any (comma separated) combination of:
.Bl -bullet .Bl -bullet -compact
.It .It
change-password | cpw change-password or cpw
.It .It
list list
.It .It
@@ -81,7 +83,8 @@ all
.Pp .Pp
And the optional And the optional
.Ar principal-pattern .Ar principal-pattern
restricts the rights to principals that match the glob-style pattern. restricts the rights to operations on principals that match the
glob-style pattern.
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
@@ -130,6 +133,13 @@ to listen to port 4711 in addition to any
compiled in defaults: compiled in defaults:
.Pp .Pp
.D1 Nm Fl -ports Ns Li "=\*[q]+ 4711\*[q] &" .D1 Nm Fl -ports Ns Li "=\*[q]+ 4711\*[q] &"
.Pp
This acl file will grant Joe all rights, and allow Mallory to view and
add host principals.
.Bd -literal -offset indent
joe/admin@EXAMPLE.COM all
mallory/admin@EXAMPLE.COM add,get host/*@EXAMPLE.COM
.Ed
.\".Sh DIAGNOSTICS .\".Sh DIAGNOSTICS
.Sh SEE ALSO .Sh SEE ALSO
.Xr kadmin 1 , .Xr kadmin 1 ,