~ubuntu-branches/ubuntu/precise/krb5/precise-updates

« back to all changes in this revision

Viewing changes to doc/rst_source/krb_admins/database/db_policies/del_pol.rst

  • Committer: Package Import Robot
  • Author(s): Sam Hartman
  • Date: 2011-12-01 19:34:41 UTC
  • mfrom: (28.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20111201193441-9tipg3aru1jsidyv
Tags: 1.10+dfsg~alpha1-6
* Fix segfault with unknown hostnames in krb5_sname_to_principal,
  Closes: #650671
* Indicate that this library breaks libsmbclient versions that depend on
  krb5_locate_kdc, Closes: #650603, #650611

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Deleting policies
 
2
========================
 
3
 
 
4
To delete a policy, use the kadmin *delete_policy* command, which requires the "delete" administrative privilege. The syntax is::
 
5
 
 
6
     delete_policy [-force] policy_name
 
7
     
 
8
 
 
9
The *delete_policy* command has the alias **delpol**. It prompts for confirmation before deletion. 
 
10
 
 
11
For example::
 
12
 
 
13
     kadmin: delete_policy guests
 
14
     Are you sure you want to delete the policy "guests"?
 
15
     (yes/no): yes
 
16
     kadmin:
 
17
     
 
18
.. note::  You must cancel the policy from *all* principals before deleting it. The *delete_policy* command will fail if it is in use by any principals. 
 
19
 
 
20
 
 
21
     
 
22
------------
 
23
 
 
24
Feedback:
 
25
 
 
26
Please, provide your feedback at krb5-bugs@mit.edu?subject=Documentation___db_policies
 
27