stuffer.user module

Managing users and group membership in the container.

class stuffer.user.AddToGroup(user, group)[source]

Bases: stuffer.core.Action

Add a user to a group.

Name of user.
Name of group.

Shell command to run. Override this or run().

Should either return a list of strings to pass to subprocess.check_output, or a string, in which case shell=True will be passed with subprocess.check_output..