/opt/cloudlinux/venv/lib/python3.11/site-packages/clwpos/hooks/__pycache__
� j�@]m� � �R � d dl mZmZ d dlZd dlmZ d dlmZ G d� de� � ZdS )� )�absolute_import�print_functionN)�ClPwd)�ModifyUserHookc � � e Zd ZdZd� ZdS )�WposUserDirsHookz7 Update user's directories after user creation c �� � t � � � |� � }t j d|� �dd�� � d S # t j $ r t d|� �� � Y d S w xY w)Nz/var/clwpos/uids/i� T)�exist_okzERROR: No such user )r �get_uid�os�makedirs�NoSuchUserException�print)�self�username�owner�kwargs�uids �&py/clwpos/hooks/wpos_user_dirs_hook.py�post_create_userz!WposUserDirsHook.post_create_user s� � � 5��'�'�/�/�(�+�+�C��K�1�C�1�1�5�4�H�H�H�H�H�H���(� 5� 5� 5��3��3�3�4�4�4�4�4�4� 5���s �;? �!A$�#A$N)�__name__� __module__�__qualname__�__doc__r � � r r r s- � � � � � �� �5� 5� 5� 5� 5r r ) � __future__r r r �clcommon.clpwdr �clcommon.public_hooks.libr r r r r �<module>r s� �� 7� 6� 6� 6� 6� 6� 6� 6� � � � � � � � � � � 4� 4� 4� 4� 4� 4� 5� 5� 5� 5� 5�~� 5� 5� 5� 5� 5r
.
Edit
..
Edit
additional_hooks.cpython-311.opt-1.pyc
Edit
additional_hooks.cpython-311.pyc
Edit
wpos_modify_user_hook.cpython-311.opt-1.pyc
Edit
wpos_modify_user_hook.cpython-311.pyc
Edit
wpos_user_dirs_hook.cpython-311.opt-1.pyc
Edit
wpos_user_dirs_hook.cpython-311.pyc
Edit