From 0d1334ca0c7f5a53195b38b126d726747949ce5d Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 20 Nov 2000 19:21:22 +0000 Subject: mdoc(7) police: use the new features of the Nm macro. --- usr.bin/passwd/passwd.1 | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'usr.bin/passwd') diff --git a/usr.bin/passwd/passwd.1 b/usr.bin/passwd/passwd.1 index a036a2c..eb9fe3c 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 . -- cgit v1.1