2003-08-24 03:20:12 +04:00
|
|
|
.\" $NetBSD: rpc.yppasswdd.8,v 1.14 2003/08/23 23:20:12 wiz Exp $
|
1996-08-09 14:19:48 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by Mats O Jansson
|
|
|
|
.\" 4. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
|
|
|
|
.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
|
|
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
|
|
.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
2003-08-24 03:20:12 +04:00
|
|
|
.Dd August 22, 2003
|
1996-08-09 14:19:48 +04:00
|
|
|
.Dt RPC.YPPASSWDD 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm rpc.yppasswdd
|
|
|
|
.Nd YP update password file daemon
|
|
|
|
.Sh SYNOPSIS
|
1997-10-17 20:12:03 +04:00
|
|
|
.Nm
|
2000-12-09 01:23:14 +03:00
|
|
|
.Op Fl d Ar directory
|
1996-08-09 14:19:48 +04:00
|
|
|
.Op Fl noshell
|
|
|
|
.Op Fl nogecos
|
|
|
|
.Op Fl nopw
|
2002-01-19 14:44:57 +03:00
|
|
|
.Op Fl m Ar arg1 Op Ar arg2 ...
|
1996-08-09 14:19:48 +04:00
|
|
|
.Sh DESCRIPTION
|
1997-10-17 20:12:03 +04:00
|
|
|
.Nm
|
1997-11-18 09:52:15 +03:00
|
|
|
must be running on the
|
|
|
|
.Tn YP
|
|
|
|
master server to allow users to change information
|
1996-08-09 14:19:48 +04:00
|
|
|
in the password file.
|
|
|
|
.Pp
|
|
|
|
The options are as follows:
|
2003-08-24 03:20:12 +04:00
|
|
|
.Bl -tag -width XdXdirectoryXX -offset indent
|
2000-12-09 01:23:14 +03:00
|
|
|
.It Fl d Ar directory
|
|
|
|
Change the root directory of the password file from
|
|
|
|
.Dq Pa /
|
|
|
|
to
|
|
|
|
.Ar directory .
|
2003-08-22 11:04:39 +04:00
|
|
|
It is important to create the binary database files (pwd.db and spwd.db)
|
2003-08-24 03:20:12 +04:00
|
|
|
when using this switch or the password change will fail.
|
|
|
|
The databases need to be created only once with the following command:
|
2003-08-22 11:04:39 +04:00
|
|
|
.Pp
|
|
|
|
.Dl pwd_mkdb -d directory directory/etc/master.passwd
|
1996-08-09 14:19:48 +04:00
|
|
|
.It Fl noshell
|
|
|
|
Don't allow changes of the shell field in the passwd file.
|
|
|
|
.It Fl nogecos
|
|
|
|
Don't allow changes of the gecos field in the passwd file.
|
|
|
|
.It Fl nopw
|
|
|
|
Don't allow changes of the password in the passwd file.
|
2000-12-09 00:51:21 +03:00
|
|
|
.It Fl m Ar arg1 Op Ar arg2 ...
|
2002-01-19 14:44:57 +03:00
|
|
|
Additional arguments to pass to
|
|
|
|
.Ar make
|
1999-06-28 05:21:51 +04:00
|
|
|
in
|
|
|
|
.Ar /var/yp .
|
1996-08-09 14:19:48 +04:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
1998-11-03 13:33:23 +03:00
|
|
|
.Bl -tag -width /etc/master.passwd -compact
|
1996-08-09 14:19:48 +04:00
|
|
|
.It Pa /etc/passwd
|
|
|
|
.It Pa /etc/master.passwd
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr chpass 1 ,
|
|
|
|
.Xr passwd 1 ,
|
1999-06-28 05:21:51 +04:00
|
|
|
.Xr hosts_access 5 ,
|
1997-10-18 10:50:50 +04:00
|
|
|
.Xr yp 8 ,
|
|
|
|
.Xr ypbind 8 ,
|
2000-07-05 19:45:28 +04:00
|
|
|
.Xr ypserv 8
|
2002-02-02 04:43:52 +03:00
|
|
|
.Sh AUTHORS
|
|
|
|
.An Mats O Jansson Aq moj@stacken.kth.se
|