ypshad2pwd(NADM) 19 June 1992 ypshad2pwd(NADM) Name ypshad2pwd - install and update the /etc/passwd.yp passwd file Syntax ypshad2pwd inpasswdfile inshadowfile outpaswdfile Description The ypshad2pwd command creates and updates outpasswdfile with informa- tion from inpasswdfile and inshadowfile. The command populates outpasswdfile user's login name, password, user identification number, group identication number, comment, home directory, and shell informa- tion. If inshadowfile exists the passwd is taken from inshadowfile, otherwise the passwd field is taken from inpasswdfile. The following is the format of an entry in /etc/passwd.yp: username:passwd:uid:gid:comment:homedir:shell outpasswdfile is expected to be /etc/passwd.yp, for use in creating the NIS password map on an NIS master server. Typical usuage is: ypshad2pwd /etc/passwd /etc/shadow /etc/passwd.yp ypshad2pwd is not expected to be used by an anything other than ypinit(NADM) and ypmake(NADM). Files /etc/passwd, /etc/shadow, /etc/passwd.yp See also passwd(C), ypfiles(NF), map2ascii(NADM), ypinit(NADM), ypmake(NADM)