pwget man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

pwget(1)							      pwget(1)

NAME
       pwget, grget - get password and group information

SYNOPSIS
       name | uid]

       name | gid]

DESCRIPTION
       and locate and display information from and

       The  standard  output  of  contains  lines  of colon-separated password
       information whose format is the same as that  used  in  the  file  (see
       passwd(4)).

       The standard output of contains lines of colon-separated group informa‐
       tion whose format is the same as that used in the file (see group(4)).

       With no options, and get all entries with or respectively,  (see	 getp‐
       went(3C) and getgrent(3C)), and output a line for each entry found.

   Options
       When an option is given, only a single entry is printed.

       The options for are:

	      Output the first entry that matches
			     name using (see getpwent(3C)).

	      Output the first entry that matches
			     uid using (see getpwent(3C)).

       The options for are:

	      Output the first entry that matches
			     name using (see getgrent(3C)).

	      Output the first entry that matches
			     gid using (see getgrent(3C)).

NETWORKING FEATURES
   NFS
       If  Network  Information System (NIS) is in use, these commands provide
       password and group information based on the NIS version of the password
       and group databases in addition to the local password and group files.

RETURN VALUE
       These  commands	return upon success, when a specific search fails, and
       upon error.

DEPENDENCIES
   NFS:
       WARNING: If the Network Information System network database is  in  use
       and  the	 NIS  client  daemon  is not bound to a NIS server daemon (see
       ypserv(1M)), these utilities will wait until such a binding  is	estab‐
       lished.	 These commands can be terminated in this condition by sending
       a signal to the process (see kill(1)).

       See ypmatch(1), and ypserv(1M).

AUTHOR
       and were developed by HP.

FILES
       local group data file
       local password data file

SEE ALSO
       getgrent(3C), getpwent(3C), group(4), passwd(4).

								      pwget(1)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net