dissect.target.plugins.os.unix.bsd.osx.user

Module Contents

Classes

UserPlugin

MacOS / OSX user plugin.

Attributes

dissect.target.plugins.os.unix.bsd.osx.user.AccountPolicyRecord
class dissect.target.plugins.os.unix.bsd.osx.user.UserPlugin(target: dissect.target.Target)

Bases: dissect.target.plugin.Plugin

MacOS / OSX user plugin.

USER_PATH = '/var/db/dslocal/nodes/Default/users'
check_compatible() None

Perform a compatibility check with the target.

This function should return None if the plugin is compatible with the current target (self.target). For example, check if a certain file exists. Otherwise it should raise an UnsupportedPluginError.

Raises:

UnsupportedPluginError – If the plugin could not be loaded.

account_policy() Iterator[AccountPolicyRecord]

Yield user account policy information