From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/python~3.12/library%2Fpwd.html | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 devdocs/python~3.12/library%2Fpwd.html (limited to 'devdocs/python~3.12/library%2Fpwd.html') diff --git a/devdocs/python~3.12/library%2Fpwd.html b/devdocs/python~3.12/library%2Fpwd.html deleted file mode 100644 index 578fb27b..00000000 --- a/devdocs/python~3.12/library%2Fpwd.html +++ /dev/null @@ -1,31 +0,0 @@ -

pwd — The password database

This module provides access to the Unix user account and password database. It is available on all Unix versions.

Availability: Unix, not Emscripten, not WASI.

Password database entries are reported as a tuple-like object, whose attributes correspond to the members of the passwd structure (Attribute field below, see <pwd.h>):

- - - - - - - -

Index

Attribute

Meaning

0

pw_name

Login name

1

pw_passwd

Optional encrypted password

2

pw_uid

Numerical user ID

3

pw_gid

Numerical group ID

4

pw_gecos

User name or comment field

5

pw_dir

User home directory

6

pw_shell

User command interpreter

The uid and gid items are integers, all others are strings. KeyError is raised if the entry asked for cannot be found.

Note

In traditional Unix the field pw_passwd usually contains a password encrypted with a DES derived algorithm (see module crypt). However most modern unices use a so-called shadow password system. On those unices the pw_passwd field only contains an asterisk ('*') or the letter 'x' where the encrypted password is stored in a file /etc/shadow which is not world readable. Whether the pw_passwd field contains anything useful is system-dependent. If available, the spwd module should be used where access to the encrypted password is required.

It defines the following items:

-pwd.getpwuid(uid)
-

Return the password database entry for the given numeric user ID.

-
-pwd.getpwnam(name)
-

Return the password database entry for the given user name.

-
-pwd.getpwall()
-

Return a list of all available password database entries, in arbitrary order.

-

See also

-Module grp -
-
-

An interface to the group database, similar to this.

-Module spwd -
-
-

An interface to the shadow password database, similar to this.

-

- © 2001–2023 Python Software Foundation
Licensed under the PSF License.
- https://docs.python.org/3.12/library/pwd.html -

-
-- cgit v1.2.3