pwd¶
This module provides functions to query the Unix password database.
passwd object¶
These objects are returned by the functions in this module and represent an entry in the password database.
They are a thin wrapper around a struct passwd
structure.
Properties:
- name: user name
- passwd: user password (typically ‘x’, since it’s encrypted)
- uid: user ID
- gid: group ID
- gecos: user information / description
- dir: user home directory
- shell: user shell