HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/cleaner/mappings/__pycache__/username_map.cpython-310.pyc
o

i��dX�@s ddlmZGdd�de�ZdS)�)�SoSMapc@seZdZdZdZdd�ZdS)�SoSUsernameMapaMapping to store usernames matched from ``lastlog`` output.

    Usernames are obfuscated as ``obfuscateduserX`` where ``X`` is a counter
    that gets incremented for every new username found.

    Note that this specifically obfuscates user_names_ and not UIDs.
    rcCs8d|j}|jd7_||j��vr|�|���S|S)z@Obfuscate a new username not currently found in the map
        zobfuscateduser%s�)�
name_count�dataset�values�
sanitize_item�lower)�self�username�ob_name�r
�C/usr/lib/python3/dist-packages/sos/cleaner/mappings/username_map.pyrs

zSoSUsernameMap.sanitize_itemN)�__name__�
__module__�__qualname__�__doc__rrr
r
r
rrsrN)�sos.cleaner.mappingsrrr
r
r
r�<module>s