aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/passwd/passwd.1
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-11-20 19:21:22 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-11-20 19:21:22 +0000
commit8fe908ef0cb7aeeb5658acd30b9c9a11b8e33b32 (patch)
tree8a144320be53313e4213c190a32070d087be10c3 /usr.bin/passwd/passwd.1
parent4b66483fd8b6ec9417916966c646abfeac99278c (diff)
downloadsrc-8fe908ef0cb7aeeb5658acd30b9c9a11b8e33b32.tar.gz
src-8fe908ef0cb7aeeb5658acd30b9c9a11b8e33b32.zip
mdoc(7) police: use the new features of the Nm macro.
Notes
Notes: svn path=/head/; revision=68963
Diffstat (limited to 'usr.bin/passwd/passwd.1')
-rw-r--r--usr.bin/passwd/passwd.130
1 files changed, 15 insertions, 15 deletions
diff --git a/usr.bin/passwd/passwd.1 b/usr.bin/passwd/passwd.1
index a036a2cc179c..eb9fe3c960f6 100644
--- a/usr.bin/passwd/passwd.1
+++ b/usr.bin/passwd/passwd.1
@@ -36,10 +36,10 @@
.Dt PASSWD 1
.Os BSD 4
.Sh NAME
-.Nm passwd, yppasswd
+.Nm passwd , yppasswd
.Nd modify a user's password
.Sh SYNOPSIS
-.Nm passwd
+.Nm
.Op Fl l
.Op Ar user
.Nm yppasswd
@@ -52,13 +52,13 @@
.Nm Passwd
changes the user's local, Kerberos, or NIS password.
If the user is not the super-user,
-.Nm passwd
+.Nm
first prompts for the current password and will not continue unless the correct
password is entered.
.Pp
When entering the new password, the characters entered do not echo, in order to
avoid the password being seen by a passer-by.
-.Nm passwd
+.Nm
prompts for the new password twice in order to detect typing errors.
.Pp
The new password should be at least six characters long (which
@@ -81,7 +81,7 @@ authenticate Windows clients. In all other situations, numbers, upper
case letters and meta characters are encouraged.
.Pp
Once the password has been verified,
-.Nm passwd
+.Nm
communicates the new password information to
the Kerberos authenticating host.
.Bl -tag -width flag
@@ -110,14 +110,14 @@ if only the local password is modified.
has built-in support for NIS.
If a user exists in the NIS password
database but does not exist locally,
-.Nm passwd
+.Nm
automatically switches into
.Dq yppasswd
mode.
If the specified
user does not exist in either the local password database of the
NIS password maps,
-.Nm passwd
+.Nm
returns an error.
.Pp
When changing an NIS password, unprivileged users are required to provide
@@ -140,14 +140,14 @@ The following additional options are supported for use with NIS:
The
.Fl y
flag overrides
-.Nm passwd 's
+.Nm Ns 's
checking heuristics and forces
it into NIS mode.
.It Fl l
When NIS is enabled, the
.Fl l
flag can be used to force
-.Nm passwd
+.Nm
into
.Dq local only
mode.
@@ -162,7 +162,7 @@ or
in both the NIS password maps and the local user database.
By
default,
-.Nm passwd
+.Nm
will try to change the NIS password.
The
.Fl l
@@ -170,7 +170,7 @@ flag can be used to change the local password instead.
.It Fl d Ar domain
Specify what domain to use when changing an NIS password.
By default,
-.Nm passwd
+.Nm
assumes that the system default domain should be used.
This flag is
primarily for use by the superuser on the NIS master server: a single
@@ -178,7 +178,7 @@ NIS server can support multiple domains.
It is also possible that the
domainname on the NIS master may not be set (it is not necessary for
an NIS server to also be a client) in which case the
-.Nm passwd
+.Nm
command needs to be told what domain to operate on.
.It Fl h Ar host
Specify the name of an NIS server.
@@ -190,7 +190,7 @@ server.
When a domain is specified with the
.Fl d
option and
-.Nm passwd
+.Nm
is unable to determine the name of the NIS master server (possibly because
the local domainname isn't set), the name of the NIS master is assumed to
be
@@ -241,9 +241,9 @@ configure authentication services
The
.Xr yppasswd 1
command is really only a link to
-.Nm passwd .
+.Nm .
.Sh HISTORY
A
-.Nm passwd
+.Nm
command appeared in
.At v6 .