文件操作 - username_map.cpython-310.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/sos/cleaner/mappings/__pycache__/username_map.cpython-310.pyc
编辑文件内容
o i��dX � @ s d dl mZ G dd� de�ZdS )� )�SoSMapc @ s e Zd ZdZdZdd� 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. r c C s8 d| j }| j d7 _ || j�� v r| �|�� �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.pyr s zSoSUsernameMap.sanitize_itemN)�__name__� __module__�__qualname__�__doc__r r r r r r r s r N)�sos.cleaner.mappingsr r r r r r �<module> s
修改文件时间
将文件时间修改为当前时间的前一年
删除文件