Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ yppasswdd(1M) — Motorola System V 88k Release 4 Version 4.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ypmake(1M)

yppasswd(1N)

ypfiles(4N)

passwd(4)

shadow(4)

YPPASSWDD(1M)  —  ADMINISTRATOR COMMANDS

NAME

yppasswdd − daemon for modifying the NIS password and shadow files

SYNOPSIS

/usr/lib/netsvc/yp/yppasswdd passwd [shadow] [−single] [−nopw] [−nogecos] [−noshell] [−m [arg1 arg2 ... ]]

DESCRIPTION

The yppasswdd daemon handles password change requests, usually from yppasswd(1N).  yppasswdd also accepts requests to change the shell and comment fields.  yppasswdd modifies entries in passwd and shadow, the source files for the NIS passwd map.  The passwd file must be in passwd(4) format, the shadow file must be in shadow(4) format.  ypasswdd only changes an entry in passwd or shadow if the password presented by the request, usually from yppasswd(1N), when encrypted matches the encrypted password of that entry. 

yppasswdd returns an error via RPC under the following conditions:

o If passwd does not exist. 

o If no user entry for the request exists in passwd. 

o If shadow is present on the command line and the file does not exist. 

o If shadow is present on the command line and no user entry for the request exists in the file. 

If the request changes the password and shadow exists on the command line then yppasswdd modifies the password field of shadow.  If shadow is not specified on the command line, then yppasswdd modifies the password field of passwd. 

yppasswdd changes the comment and/or shell fields of passwd, if different in the request than in passwd. 

The yppasswdd daemon has the following options:

−single Allows only one field in passwd or shadow to be updated at a time. 

−nopw Disallows changing the password field in passwd or shadow. 

−nogecos Disallows changing the comment field in passwd. 

−noshell Disallows changing the shell field in passwd. 

−m [arg1 arg2 ... ]
Causes a make(1) to occur in /var/yp after modifying passwd and/or shadow.  Any arguments following the flag yppasswdd passes to make(1). 

This daemon is not run by default. 

EXAMPLE

If the NIS password file is /var/yp/src/passwd, and the NIS shadow file is /var/yp/src/shadow, to have password changes propagated immediately, invoke the daemon as:

/usr/lib/netsvc/yp/yppasswdd /var/yp/src/passwd \

/var/yp/src/shadow −m passwd

FILES

/var/yp/Makefile

SEE ALSO

ypmake(1M), yppasswd(1N), ypfiles(4N), passwd(4), shadow(4)

CAVEAT

This daemon will eventually be replaced with a more general service for modifying any map in NIS. 

The yppasswd(1N) command currently only changes the password, there is no command to request the yppasswdd daemon to change the shell or comment. 

Start yppasswdd only on the NIS master server for the passwd map. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026