Plugin user - xing/fpm-fry GitHub Wiki

The plugin creates a user after a package was installed. It is essentially a high-level abstraction so you don't have to write a maintainer script by hand.

# Create user "myuser"
plugin "user", "myuser"

Options

:group

Setting :group to true will create a group with the same name.

# Create user "myuser" and group "myuser"
plugin "user", "myuser", group: true

:group can also be string. Then the users primary group will be set to that value.

# Create user "myuser" with primary group "wheel"
plugin "user", "myuser", group: "wheel"