Command and Tool Reference

 

beq Search Tool

-s <service>

Required. Indicates what backends are to be searched

 

for information.

-l <library>

Query the backend directly. Bypass the APIs and skip

 

the name service switch.

-h

Provides Help on this command.

-H <#>

Specifies Help level (0-5). Larger numbers provide

 

more information. If you specify -h or -H, no other

 

parameters are needed.

Service Description

pwdPassword

grpGroup

shd

Shadow Password

srvService

prtProtocol

rpcRPC

hstHost

netNetwork

ngpNetgroup

grm

Group Membership

Examples

1.An example beq command using igrp1 (group name) as the search key, grp (group) as the service, and ldap as the library is shown below:

./beq -k n -s grp -l /usr/lib/libnss_ldap.1 igrp1

nss_status .............. NSS_SUCCESS pw_name...........(iuser1) pw_passwd.........(*) pw_uid............(101) pw_gid............(21) pw_age............() pw_comment........() pw_gecos..........(gecos data in files)

Chapter 5

151