From 0f7c66272ceca62389f7064fccfb18b9a8816a6e Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 6 Sep 1996 10:34:01 +0000 Subject: [PATCH] document how to turn on YP --- share/man/man5/passwd.5 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/share/man/man5/passwd.5 b/share/man/man5/passwd.5 index 77dd659ed5c..181ce324578 100644 --- a/share/man/man5/passwd.5 +++ b/share/man/man5/passwd.5 @@ -194,7 +194,21 @@ or entries contain text, it will override the information included via YP. On some systems, the .Ar passwd -field may also be overriden. +field may also be overriden, hence it is recommended that the standard +way to turn YP passwd support in +.Pa /etc/master.passwd +is: +.Pp ++:*:::::::: +.Pp +which after +.Xr pwd_mkdb 8 +will result in +.Pa /etc/passwd +containing: +.Pp ++:*:0:0::: +.Pp .Sh SEE ALSO .Xr chpass 1 , .Xr login 1 , -- 2.20.1