salt.modules.aix_shadow module

Manage account locks on AIX systems

New in version 2018.3.0.

depends

none

salt.modules.aix_shadow.locked(user)

Query for all accounts which are flagged as locked.

CLI Example:

salt <minion_id> shadow.locked ALL
salt.modules.aix_shadow.login_failures(user)

Query for all accounts which have 3 or more login failures.

CLI Example:

salt <minion_id> shadow.login_failures ALL
salt.modules.aix_shadow.unlock(user)

Unlock user for locked account

CLI Example:

salt <minion_id> shadow.unlock user