summaryrefslogtreecommitdiffstats
path: root/src/admin/destroy
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1996-08-24 00:46:52 +0000
committerEzra Peisach <epeisach@mit.edu>1996-08-24 00:46:52 +0000
commit73700efbb5968d21b92f7dafa153e79a10094ccb (patch)
tree66790aee50958422384b73e7a1341321745d5b4b /src/admin/destroy
parente7a959caf3b47b3e0277e685a8bd88ba06bcc613 (diff)
downloadkrb5-73700efbb5968d21b92f7dafa153e79a10094ccb.tar.gz
krb5-73700efbb5968d21b92f7dafa153e79a10094ccb.tar.xz
krb5-73700efbb5968d21b92f7dafa153e79a10094ccb.zip
Removing programs which are now in the new OV admin system
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8980 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/admin/destroy')
-rw-r--r--src/admin/destroy/.Sanitize38
-rw-r--r--src/admin/destroy/ChangeLog58
-rw-r--r--src/admin/destroy/Makefile.in13
-rw-r--r--src/admin/destroy/configure.in7
-rw-r--r--src/admin/destroy/kdb5_destroy.M45
-rw-r--r--src/admin/destroy/kdb5_destroy.c102
6 files changed, 0 insertions, 263 deletions
diff --git a/src/admin/destroy/.Sanitize b/src/admin/destroy/.Sanitize
deleted file mode 100644
index bf5af7669..000000000
--- a/src/admin/destroy/.Sanitize
+++ /dev/null
@@ -1,38 +0,0 @@
-# Sanitize.in for Kerberos V5
-
-# Each directory to survive it's way into a release will need a file
-# like this one called "./.Sanitize". All keyword lines must exist,
-# and must exist in the order specified by this file. Each directory
-# in the tree will be processed, top down, in the following order.
-
-# Hash started lines like this one are comments and will be deleted
-# before anything else is done. Blank lines will also be squashed
-# out.
-
-# The lines between the "Do-first:" line and the "Things-to-keep:"
-# line are executed as a /bin/sh shell script before anything else is
-# done in this
-
-Do-first:
-
-# All files listed between the "Things-to-keep:" line and the
-# "Files-to-sed:" line will be kept. All other files will be removed.
-# Directories listed in this section will have their own Sanitize
-# called. Directories not listed will be removed in their entirety
-# with rm -rf.
-
-Things-to-keep:
-
-.cvsignore
-ChangeLog
-Makefile.in
-configure
-configure.in
-kdb5_destroy.M
-kdb5_destroy.c
-
-Things-to-lose:
-
-Do-last:
-
-# End of file.
diff --git a/src/admin/destroy/ChangeLog b/src/admin/destroy/ChangeLog
deleted file mode 100644
index d70a699f8..000000000
--- a/src/admin/destroy/ChangeLog
+++ /dev/null
@@ -1,58 +0,0 @@
-
-Fri Jul 7 15:36:45 EDT 1995 Paul Park (pjpark@mit.edu)
- * Makefile.in - Remove all explicit library handling and LDFLAGS.
- * configure.in - Add USE_KDB5_LIBRARY and KRB5_LIBRARIES.
-
-
-Fri Jun 30 14:30:49 EDT 1995 Paul Park (pjpark@mit.edu)
- * configure.in - Add --with-dbm to select between Berkeley and DBM
- KDC database format.
-
-
-Thu Jun 15 15:31:59 EDT 1995 Paul Park (pjpark@mit.edu)
- * Makefile.in - Change explicit library names to -l<lib> form, and
- change target link line to use $(LD) and associated flags.
- Also, remove DBMLIB, it was not used.
- * configure.in - Remove dbm library checks, these are no longer needed
- with the Berkeley database code. Also, add shared library
- usage check.
-
-
-Tue May 30 14:41:50 EDT 1995 Paul Park (pjpark@mit.edu)
- * kdb5_destroy.c: Remove knowledge of database files. Use kdb5_db_
- destroy to destroy the database.
-
-Thu Mar 2 12:18:36 1995 Theodore Y. Ts'o <tytso@dcl>
-
- * Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
-
-Wed Mar 1 11:52:36 1995 Theodore Y. Ts'o <tytso@dcl>
-
- * configure.in: Remove ISODE_INCLUDE, replace check for -lsocket
- and -lnsl with WITH_NETLIB check.
-
-Tue Feb 28 02:05:53 1995 John Gilmore (gnu at toad.com)
-
- * kdb5_destroy.c: Avoid <krb5/...> and <com_err.h> includes.
-
-Fri Jan 13 15:23:47 1995 Chris Provenzano (proven@mit.edu)
-
- * Added krb5_context to all krb5_routines
-
-Thu Oct 6 23:43:38 1994 Theodore Y. Ts'o (tytso@dcl)
-
- * kdb5_destroy.c (main): Add option to force destruction of a
- database.
-
-Mon Oct 3 19:10:23 1994 Theodore Y. Ts'o (tytso@dcl)
-
- * Makefile.in: Use $(srcdir) to find manual page for make install.
-
-Thu Sep 29 22:20:25 1994 Theodore Y. Ts'o (tytso@dcl)
-
- * Makefile.in: Relink executable when libraries change.
-
-Wed Jun 29 00:22:07 1994 Tom Yu (tlyu at dragons-lair)
-
- * kdb5_destroy.c: fix things to call krb5_init_ets
-
diff --git a/src/admin/destroy/Makefile.in b/src/admin/destroy/Makefile.in
deleted file mode 100644
index 08e52fe63..000000000
--- a/src/admin/destroy/Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
-CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
-
-all:: kdb5_destroy
-
-kdb5_destroy: kdb5_destroy.o $(DEPLIBS)
- $(LD) $(LDFLAGS) $(LDARGS) -o kdb5_destroy kdb5_destroy.o $(LIBS)
-
-install::
- $(INSTALL_PROGRAM) kdb5_destroy ${DESTDIR}$(ADMIN_BINDIR)/kdb5_destroy
- $(INSTALL_DATA) $(srcdir)/kdb5_destroy.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_destroy.8
-
-clean::
- $(RM) kdb5_destroy kdb5_destroy.o
diff --git a/src/admin/destroy/configure.in b/src/admin/destroy/configure.in
deleted file mode 100644
index c9fb21903..000000000
--- a/src/admin/destroy/configure.in
+++ /dev/null
@@ -1,7 +0,0 @@
-AC_INIT(kdb5_destroy.c)
-CONFIG_RULES
-AC_PROG_INSTALL
-USE_KDB5_LIBRARY
-KRB5_LIBRARIES
-V5_USE_SHARED_LIB
-V5_AC_OUTPUT_MAKEFILE
diff --git a/src/admin/destroy/kdb5_destroy.M b/src/admin/destroy/kdb5_destroy.M
deleted file mode 100644
index e50dde92f..000000000
--- a/src/admin/destroy/kdb5_destroy.M
+++ /dev/null
@@ -1,45 +0,0 @@
-.\" admin/destroy/kdb5_destroy.M
-.\"
-.\" Copyright 1990 by the Massachusetts Institute of Technology.
-.\"
-.\" Export of this software from the United States of America may
-.\" require a specific license from the United States Government.
-.\" It is the responsibility of any person or organization contemplating
-.\" export to obtain such a license before exporting.
-.\"
-.\" WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
-.\" distribute this software and its documentation for any purpose and
-.\" without fee is hereby granted, provided that the above copyright
-.\" notice appear in all copies and that both that copyright notice and
-.\" this permission notice appear in supporting documentation, and that
-.\" the name of M.I.T. not be used in advertising or publicity pertaining
-.\" to distribution of the software without specific, written prior
-.\" permission. M.I.T. makes no representations about the suitability of
-.\" this software for any purpose. It is provided "as is" without express
-.\" or implied warranty.
-.\"
-.\"
-.TH KDB5_DESTROY 8 "Kerberos Version 5.0" "MIT Project Athena"
-.SH NAME
-kdb5_destroy \- destroy a Kerberos principal database
-.SH SYNOPSIS
-.B kdb5_destroy
-[
-.B \-d
-.I dbname
-]
-.br
-.SH DESCRIPTION
-.I kdb5_destroy
-destroys a Kerberos principal database, i.e. all of the data is
-overwritten and then the file is removed.
-The user is prompted to confirm deletion of the database.
-.PP
-The
-.B \-d
-.I dbname
-option specifies the name under which the principal database is
-stored; by default the database is in DEFAULT_DBM_FILE (normally
-/krb5/principal).
-.SH SEE ALSO
-kdb5_create(8)
diff --git a/src/admin/destroy/kdb5_destroy.c b/src/admin/destroy/kdb5_destroy.c
deleted file mode 100644
index bdb5076fc..000000000
--- a/src/admin/destroy/kdb5_destroy.c
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * admin/destroy/kdb5_destroy.c
- *
- * Copyright 1990 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * kdb_dest(roy): destroy the named database.
- *
- * This version knows about DBM format databases.
- */
-
-#include "k5-int.h"
-#include <stdio.h>
-#include "com_err.h"
-
-extern int errno;
-
-char *yes = "yes\n"; /* \n to compare against result of
- fgets */
-
-static void
-usage(who, status)
- char *who;
- int status;
-{
- fprintf(stderr, "usage: %s [-d dbpathname]\n", who);
- exit(status);
-}
-
-void
-main(argc, argv)
- int argc;
- char *argv[];
-{
- extern char *optarg;
- int optchar;
- char *dbname = DEFAULT_KDB_FILE;
- char buf[5];
- char dbfilename[MAXPATHLEN];
- krb5_error_code retval;
- krb5_context context;
- int force = 0;
-
- krb5_init_context(&context);
- krb5_init_ets(context);
-
- if (strrchr(argv[0], '/'))
- argv[0] = strrchr(argv[0], '/')+1;
-
- while ((optchar = getopt(argc, argv, "d:f")) != EOF) {
- switch(optchar) {
- case 'd': /* set db name */
- dbname = optarg;
- break;
- case 'f':
- force++;
- break;
- case '?':
- default:
- usage(argv[0], 1);
- /*NOTREACHED*/
- }
- }
- if (!force) {
- printf("Deleting KDC database stored in '%s', are you sure?\n", dbname);
- printf("(type 'yes' to confirm)? ");
- if (fgets(buf, sizeof(buf), stdin) == NULL)
- exit(1);
- if (strcmp(buf, yes))
- exit(1);
- printf("OK, deleting database '%s'...\n", dbname);
- }
-
- if (retval = krb5_db_set_name(context, dbname)) {
- com_err(argv[0], retval, "'%s'",dbname);
- exit(1);
- }
- if (retval = kdb5_db_destroy(context, dbname)) {
- com_err(argv[0], retval, "deleting database '%s'",dbname);
- exit(1);
- }
-
- printf("** Database '%s' destroyed.\n", dbname);
- exit(0);
-}