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.

user
Name of user.
group
Name of group.
command()[source]

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..