summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-12-12 22:46:52 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-12-12 22:46:52 +0000
commit17cb1a349e1925aacbe09cd4eab946d1be14108d (patch)
tree616504742345601332e3a2041d17309c2ba7c889 /usr.bin/passwd
parent68ed363a0b9c63717b1200b9e04c8e1ff12f1f9d (diff)
- simplify synopsis
- remove some .Bk/.Ek clutter - sort options list
Diffstat (limited to 'usr.bin/passwd')
-rw-r--r--usr.bin/passwd/passwd.120
1 files changed, 8 insertions, 12 deletions
diff --git a/usr.bin/passwd/passwd.1 b/usr.bin/passwd/passwd.1
index 9e52ff00c8d..f0d6ea9ec1e 100644
--- a/usr.bin/passwd/passwd.1
+++ b/usr.bin/passwd/passwd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: passwd.1,v 1.30 2005/03/07 22:51:46 jmc Exp $
+.\" $OpenBSD: passwd.1,v 1.31 2005/12/12 22:46:51 jmc Exp $
.\"
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -37,12 +37,8 @@
.Nd modify a user's password
.Sh SYNOPSIS
.Nm passwd
-.Bk -words
-.Op Fl l
-.Op Fl y
-.Op Fl K
+.Op Fl Kly
.Op Ar user
-.Ek
.Sh DESCRIPTION
.Nm
changes the user's local, Kerberos, or YP password.
@@ -66,6 +62,12 @@ variable in
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl K
+Forces the change to affect the Kerberos 5 database, even
+if the user has a password in the local database.
+Once the password has been verified,
+.Nm
+communicates the new password information to the Kerberos authenticating host.
.It Fl l
Causes the password to be updated only in the local password file.
When changing only the local password,
@@ -77,12 +79,6 @@ the user has an entry in the local database.
The
.Xr rpc.yppasswdd 8
daemon should be running on the YP master server.
-.It Fl K
-Forces the change to affect the Kerberos 5 database, even
-if the user has a password in the local database.
-Once the password has been verified,
-.Nm
-communicates the new password information to the Kerberos authenticating host.
.El
.Pp
This is the behavior if no flags are specified: