% ypcat -x Use "passwd" for map "passwd.byname" Use "group" for map "group.byname" Use "networks" for map "networks.byaddr" Use "hosts" for map "hosts.byaddr" Use "protocols" for map "protocols.bynumber" Use "services" for map "services.byname" Use "aliases" for map "mail.aliases" Use "ethers" for map "ethers.byname"
% ypcat -k aliases | grep sw_all sw_all all_sw % ypcat -k aliases | grep all_sw all_r&d mci-here,all_hw,qualeng,id,all_sw,allsys,transducers,adv_dev,program all_q5000 all_sw,all_hw,researchers,marketing,program,systems,probes,adv_dev,ultra,pcb,engser,transducers,cadmec,id,frontend,qualeng sw_all all_sw se all_sw,diag all_sw sw_staff,sw_sde all-sw all_sw
% ypcat group | grep jeffy se:*:30:bob,mary,mark,chuck,jeffy,fred,harry,homer,lena pubsrc:*:161:jeffy,jrand,lgur web:*:270:webmaster,jeffy,peteg,sally dicom:*:315:ram,jeffy,david shareadm:*:136:sysad,pcadmin,bill,share,root,jeffy vxsrc:*:105:charlie,chuck,jeffy,steve,sam,vobadm,rick,lee
% ypcat hosts | grep hugo 163.242.144.176 centauri # (SW) SS2 Bob Jones old hugo 163.242.144.25 hugo # SS1 Jeff Youngstrom
% ypcat passwd | grep jeffy jeffy:*:1143:30:Jeff Youngstrom:/home/jeffy:/bin/csh
Up to the TTTT index
Tuesday Tiny Techie Tips are all © Copyright 1996-1997 by Jeff Youngstrom. Please ask permission before reproducing any of this material.