From 229f02ca3e8b417f0f772ef170bf128ea465cb1c Mon Sep 17 00:00:00 2001 From: Jeff Bigler Date: Fri, 6 Sep 1996 23:22:40 +0000 Subject: [PATCH] New manpages git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9052 dc483132-0cff-0310-8789-dd5450dbe970 --- src/configure.in | 2 +- src/kadmin/passwd/Makefile.in | 1 + src/kadmin/passwd/kpasswd.M | 68 +++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 src/kadmin/passwd/kpasswd.M diff --git a/src/configure.in b/src/configure.in index eb08a4575..a706cb171 100644 --- a/src/configure.in +++ b/src/configure.in @@ -251,7 +251,7 @@ kadminv4=kadmin.v4 krb524=krb524 fi dnl -CONFIG_DIRS(util include lib $krb524 kdc kadmin slave clients appl tests config-files) +CONFIG_DIRS(util include lib $krb524 kdc kadmin slave clients appl tests config-files gen-manpages) dnl $kadminv4 removed from the above DO_SUBDIRS dnl AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/kadmin/passwd/Makefile.in b/src/kadmin/passwd/Makefile.in index d0a9b65fb..7eb2542c2 100644 --- a/src/kadmin/passwd/Makefile.in +++ b/src/kadmin/passwd/Makefile.in @@ -14,6 +14,7 @@ $(PROG): $(OBJS) $(CLNTDEPLIBS) install:: $(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(BINDIR)/$(PROG) + $(INSTALL_DATA) $(srcdir)/$(PROG).M ${DESTDIR}$(CLIENT_MANDIR)/$(PROG).1 clean:: $(RM) kpasswd_strings.c kpasswd_strings.h $(PROG) $(OBJS) diff --git a/src/kadmin/passwd/kpasswd.M b/src/kadmin/passwd/kpasswd.M new file mode 100644 index 000000000..fe81ddba4 --- /dev/null +++ b/src/kadmin/passwd/kpasswd.M @@ -0,0 +1,68 @@ +.\" kadmin/kpasswd/kpasswd.M +.\" +.\" Copyright 1995 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. +.\" " +.so man1/header.doc +.TH KPASSWD 1 \*h +.SH NAME +kpasswd \- change a user's Kerberos password +.SH SYNOPSIS +.B kpasswd +[\fIprincipal\fP] +.SH DESCRIPTION +.PP +The +.I kpasswd +command is used to change a Kerberos principal's password. +.I Kpasswd +prompts for the current Kerberos password, which is used to obtain a +.B changepw +ticket from the +.SM KDC +for the user's Kerberos realm. If +.B kpasswd +successfully obtains the +.B changepw +ticket, the user is prompted twice for the new password, and the +password is changed. +.PP +If the principal is governed by a policy that specifies the length and/or +number of character classes required in the new password, the new +password must conform to the policy. (The five character classes are +lower case, upper case, numbers, punctuation, and all other characters.) +.SH OPTIONS +.TP +.I principal +change the password for the Kerberos principal +.IR principal . +Otherwise, the principal is derived from the identity of the user +invoking the +.I kpasswd +command. +.SH FILES +.TP "\w'/tmp/tkt_kadm_[pid]'u" +/tmp/tkt_kadm_[pid] +temporary credentials cache for the lifetime of the password changing +operation. ([pid] is the process-ID of the kpasswd process.) +.SH SEE ALSO +kadmin(8), kadmind(8) +.SH BUGS +If +.B kpasswd +is suspended, the changepw tickets may not be destroyed. -- 2.26.2