MAP2ASCII(NADM) System V NFS (11/28/90) MAP2ASCII(NADM)
NAME
map2ascii - network information service (NIS) database
conversion routines
SYNOPSIS
/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 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 routines 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.
Page 1 (printed 7/1/91)
MAP2ASCII(NADM) System V NFS (11/28/90) MAP2ASCII(NADM)
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 exist merely to force the
corresponding 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(F), group(F), hosts(SFF),
networks(SFF), protocols(SFF), rpc(NF), services(SFF),
ypmapxlate(NF)
Page 2 (printed 7/1/91)