Find and delete service principals from the command-line.

This commit is contained in:
Rob Crittenden
2008-01-11 12:52:41 -05:00
parent 42d5ddc559
commit 29c42e853a
4 changed files with 249 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
.\" A man page for ipa-delservice
.\" Copyright (C) 2007 Red Hat, Inc.
.\"
.\" This is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU Library General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
.\" General Public License for more details.
.\"
.\" You should have received a copy of the GNU Library General Public
.\" License along with this program; if not, write to the Free Software
.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.\"
.\" Author: Rob Crittenden <rcritten@redhat.com>
.\"
.TH "ipa-delservice" "1" "Jan 11 2008" "freeipa" ""
.SH "NAME"
ipa\-delservice \- Delete a service principal
.SH "SYNOPSIS"
ipa\-delservice \fIprincipal\fR
.SH "DESCRIPTION"
Deletes a service principal with name \fIprincipal\fR.
.SH "EXIT STATUS"
0 on success
1 if an error occurred
2 if not exactly one matching entries was found

View File

@@ -0,0 +1,37 @@
.\" A man page for ipa-findservice
.\" Copyright (C) 2007 Red Hat, Inc.
.\"
.\" This is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU Library General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
.\" General Public License for more details.
.\"
.\" You should have received a copy of the GNU Library General Public
.\" License along with this program; if not, write to the Free Software
.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.\"
.\" Author: Rob Crittenden <rcritten@redhat.com>
.\"
.TH "ipa-findservice" "1" "Jan 11 2008" "freeipa" ""
.SH "NAME"
ipa\-findservice \- Find a service principal
.SH "SYNOPSIS"
ipa\-findservice \fIstring\fR
.SH "DESCRIPTION"
Searches for a service principal that contains \fIstring\fR.
The search is a substring search in the service principal. You can search for all principals on a given host, by service or a substring.
All entries that match are displayed.
.SH "EXIT STATUS"
0 if one or more entries were found
1 if an error occurred
2 if no matching entries were found