map2ascii(NADM) 19 June 1992 map2ascii(NADM) Name map2ascii - Network Information Service (NIS) database conversion routines Syntax /etc/yp/map2ascii/passwd.nam /etc/yp/map2ascii/group.nam /etc/yp/map2ascii/hosts.nam /etc/yp/map2ascii/netwks.nam /etc/yp/map2ascii/proto.no /etc/yp/map2ascii/rpc.no /etc/yp/map2ascii/srvcs.nam /etc/yp/map2ascii/ethers.adr /etc/yp/map2ascii/ethers.nam /etc/yp/map2ascii/group.gif /etc/yp/map2ascii/hosts.adr /etc/yp/map2ascii/mail.alias /etc/yp/map2ascii/netgroup /etc/yp/map2ascii/netgrp.hst /etc/yp/map2ascii/netgrp.usr /etc/yp/map2ascii/netwks.adr /etc/yp/map2ascii/passwd.uid /etc/yp/map2ascii/proto.nam /etc/yp/map2ascii/ypserver Description The Network Information Service (NIS) map2ascii routines are shell scripts used by ypxfr(NADM) to convert Network Information Service (NIS) databases (maps) into their ASCII counterparts. The names of the files in the directory, /etc/yp/map2ascii, correspond to shortened UNIX System V NIS map names. After transferring a NIS map, ypxfr checks for the existence of a file in the /etc/yp/map2ascii directory with the same name as the map. If it exists, ypxfr forks a shell to run the script. Currently, conversion routines are supported for the passwd and group files, as well as for several of the network databases. Conversion rou- tines may be created for other NIS maps and placed into the /etc/yp/map2ascii directory. The passwd.nam script combines the contents of the passwd.nam map and the contents of /etc/passwd.local (if it exists) to make the /etc/passwd file. Logins present in /etc/passwd.local have precedence over those in the map. The group.nam script combines the contents of the group.nam map and the contents of /etc/group.local (if it exists) to make the /etc/group file. As with the passwd.nam example, group entries present in /etc/group.local have precedence over groups in the map. The hosts.nam script copies the contents of the hosts.nam map to /etc/hosts. The concept of a local host table is not supported. The netwks.nam script copies the contents of the netwks.nam map to /etc/networks. The concept of a local networks table is not supported. The proto.no script copies the contents of the proto.no map to /etc/protocols. The concept of a local protocols table is not supported. The rpc.no script copies the contents of the rpc.no map to /etc/rpc. The concept of a local rpc table is not supported. The srvcs.nam script copies the contents of the srvcs.nam map to /etc/services. The concept of a local services table is not supported. The rest of the map2ascii scripts exists merely to force the corre- sponding NIS map to be updated during system initialization time. Files /etc/passwd, /etc/passwd.local, /etc/group, /etc/group.local, /etc/hosts, /etc/networks, /etc/protocols, /etc/rpc, /etc/services See also ypxfr(NADM), passwd(C), ypmapxlate(NF)