1 \section{Built-in Module
\sectcode{pwd
}}
4 This module provides access to the
\UNIX{} password database.
5 It is available on all
\UNIX{} versions.
7 Password database entries are reported as
7-tuples containing the
8 following items from the password database (see
\file{<pwd.h>
}), in order:
16 The uid and gid items are integers, all others are strings.
17 An exception is raised if the entry asked for cannot be found.
19 It defines the following items:
21 \renewcommand{\indexsubitem}{(in module pwd)
}
22 \begin{funcdesc
}{getpwuid
}{uid
}
23 Return the password database entry for the given numeric user ID.
26 \begin{funcdesc
}{getpwnam
}{name
}
27 Return the password database entry for the given user name.
30 \begin{funcdesc
}{getpwall
}{}
31 Return a list of all available password database entries, in arbitrary order.