File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/solaris_user.cpython-310.pyc
Back
o ;j, � @ s* d Z ddlZddlZddlZddlZddlmZ zddlZdZ W n e y+ dZ Y nw e�e�Z dZdd� Zd d � Zdd� Zd d� Z d0dd�Zd1dd�Zd2dd�Zdd� Zdd� Zdd� Zd2dd�Zd2dd�Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Z d,d-� Z!d.d/� Z"dS )3a& Manage users with the useradd command .. important:: If you feel that Salt should be using this module to manage users on a minion, and it is using a different module (or gives an error similar to *'user.info' is not available*), see :ref:`here <module-provider-override>`. � N)�CommandExecutionErrorTF�userc C s t d dkr tr tS dS )z4 Set the user module if the kernel is SunOS Zkernel�SunOS)FznThe solaris_user execution module failed to load: only available on Solaris systems with pwd module installed.)Z __grains__�HAS_PWD�__virtualname__� r r �M/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/solaris_user.py�__virtual__"