Added a note about pwd_mkdb when using the -d switch.

This commit is contained in:
martti 2003-08-22 07:04:39 +00:00
parent 2aaba1f5d3
commit 27017e5a9a

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rpc.yppasswdd.8,v 1.12 2002/02/02 01:43:52 wiz Exp $ .\" $NetBSD: rpc.yppasswdd.8,v 1.13 2003/08/22 07:04:39 martti Exp $
.\" .\"
.\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> .\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
.\" All rights reserved. .\" All rights reserved.
@ -56,7 +56,13 @@ Change the root directory of the password file from
.Dq Pa / .Dq Pa /
to to
.Ar directory . .Ar directory .
It is important to create the binary database files (pwd.db and spwd.db)
when using this switch or the password change will fail. The databases need
to be created only once with the following command:
.Pp
.Dl pwd_mkdb -d directory directory/etc/master.passwd
.It Fl noshell .It Fl noshell
.Pp
Don't allow changes of the shell field in the passwd file. Don't allow changes of the shell field in the passwd file.
.It Fl nogecos .It Fl nogecos
Don't allow changes of the gecos field in the passwd file. Don't allow changes of the gecos field in the passwd file.