1.\" $NetBSD: rpc.yppasswdd.8,v 1.18 2014/03/18 18:20:47 riastradh Exp $ 2.\" 3.\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 16.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.Dd February 26, 2005 28.Dt RPC.YPPASSWDD 8 29.Os 30.Sh NAME 31.Nm rpc.yppasswdd 32.Nd NIS update password file daemon 33.Sh SYNOPSIS 34.Nm 35.Op Fl d Ar directory 36.Op Fl noshell 37.Op Fl nogecos 38.Op Fl nopw 39.Op Fl m Ar arg1 Op Ar arg2 ... 40.Sh DESCRIPTION 41.Nm 42must be running on the 43.Tn NIS 44master server to allow users to change information 45in the password file. 46.Pp 47The options are as follows: 48.Bl -tag -width XdXdirectoryXX -offset indent 49.It Fl d Ar directory 50Change the root directory of the password file from 51.Dq Pa / 52to 53.Ar directory . 54It is important to create the binary database files (pwd.db and spwd.db) 55when using this switch or the password change will fail. 56The databases need to be created only once with the following command: 57.Pp 58.Dl pwd_mkdb -d directory directory/etc/master.passwd 59.It Fl noshell 60Don't allow changes of the shell field in the passwd file. 61.It Fl nogecos 62Don't allow changes of the gecos field in the passwd file. 63.It Fl nopw 64Don't allow changes of the password in the passwd file. 65.It Fl m Ar arg1 Op Ar arg2 ... 66Additional arguments to pass to 67.Ar make 68in 69.Ar /var/yp . 70.El 71.Sh FILES 72.Bl -tag -width /etc/master.passwd -compact 73.It Pa /etc/passwd 74.It Pa /etc/master.passwd 75.El 76.Sh SEE ALSO 77.Xr chpass 1 , 78.Xr passwd 1 , 79.Xr hosts_access 5 , 80.Xr nis 8 , 81.Xr ypbind 8 , 82.Xr ypserv 8 83.Sh AUTHORS 84.An Mats O Jansson Aq Mt moj@stacken.kth.se 85