printpw man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

printpw(8)							    printpw(8)

       printpw - Outputs the contents of the password database

       printpw [-acdgsu]

       Outputs	all  information. Use of this option is the same as specifying
       all options with -cdgsu.	 Outputs  username  and	 the  comment  string.
       Output  username	 and  the  login  directory.  Outputs username and the
       group ID numerical value.  Output username and the login shell.	Output
       username and the UID numerical value.

       The  printpw  command  outputs the contents of the /etc/passwd database
       file in ASCII format to the standard output.  When  printpw  is	called
       with no option, all usernames in the database are output.

       The  /etc/passwd database file is accessed through the standard library
       function getpwent. On secure systems that  have	changed	 this  library
       function	 or  on systems with Network Information Service (NIS) service
       installed, printpw produces the same information.

       When printpw is called in combination with  any	option,	 one  or  more
       additional columns separated with : (colon) is output.

       To  output  the	username, UID, and login directory of all users in the
       password database file, enter: /usr/sbin/acct/printpw -ud

       Specifies the command path The password database file

       Commands: acct(8)


List of man pages available for DigitalUNIX

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]
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