*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> printpw (8)              
Title
Content
Arch
Section
 

printpw(8)

Contents


NAME    [Toc]    [Back]

       printpw - Outputs the contents of the password database

SYNOPSIS    [Toc]    [Back]

       printpw [-acdgsu]

OPTIONS    [Toc]    [Back]

       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.

DESCRIPTION    [Toc]    [Back]

       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.

EXAMPLES    [Toc]    [Back]

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

FILES    [Toc]    [Back]

       Specifies the command path The password database file

SEE ALSO    [Toc]    [Back]

      
      
       Commands: acct(8)



                                                       printpw(8)
[ Back ]
 Similar pages
Name OS Title
showdbs Tru64 Display the contents of DHCP server's dynamic database
jdbshow Tru64 Display the contents of a specific JOIN server database
lastcomm Tru64 Outputs information about the last commands executed
ac Tru64 Outputs connect-session records
getpwnam OpenBSD password database operations
endpwent FreeBSD password database operations
setpassent NetBSD password database operations
getpwent FreeBSD password database operations
getpwent OpenBSD password database operations
getpwuid OpenBSD password database operations
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service