-
Notifications
You must be signed in to change notification settings - Fork 2
Plugin user
Hannes Georg edited this page Mar 9, 2017
·
1 revision
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"
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"