| Server IP : 138.197.176.125 / Your IP : 216.73.217.54 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/lib/python3/dist-packages/twisted/python/__pycache__/ |
Upload File : |
U
W[� � @ s` d Z ddlmZmZ ddgZG dd� de�ZG dd� de�ZG dd � d e�ZG d
d� de�Z dS )zM
L{twisted.python.fakepwd} provides a fake implementation of the L{pwd} API.
� )�absolute_import�division�UserDatabase�ShadowDatabasec @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �_UserRecordz�
L{_UserRecord} holds the user data for a single user in L{UserDatabase}.
It corresponds to L{pwd.struct_passwd}. See that class for attribute
documentation.
c C s. || _ || _|| _|| _|| _|| _|| _d S �N��pw_name� pw_passwd�pw_uid�pw_gid�pw_gecos�pw_dir�pw_shell)�self�name�password�uid�gid�gecos�home�shell� r �8/usr/lib/python3/dist-packages/twisted/python/fakepwd.py�__init__ s z_UserRecord.__init__c C s dS )N� r �r r r r �__len__ s z_UserRecord.__len__c C s$ | j | j| j| j| j| j| jf| S r r �r �indexr r r �__getitem__"