aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/recipes-core/yerba-user
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yerba/recipes-core/yerba-user')
-rw-r--r--meta-yerba/recipes-core/yerba-user/yerba-user.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-yerba/recipes-core/yerba-user/yerba-user.bb b/meta-yerba/recipes-core/yerba-user/yerba-user.bb
new file mode 100644
index 0000000..be83674
--- /dev/null
+++ b/meta-yerba/recipes-core/yerba-user/yerba-user.bb
@@ -0,0 +1,9 @@
+SUMMARY = "Add a non-root user with doas permissions"
+LICENSE = "MIT"
+
+inherit useradd
+
+USERADD_PACKAGES = "${PN}"
+USERADD_PARAM:${PN} = "-p '$6$ejafA1eayhrw94gC$TkY3uLfma5N.dLf9z3axYKFw0OTCbGQivSGFT.Ja6SqYtnwmsYUNAGJ3qvvdxPSrNdmGVc1yI.kGCZ/TrsoX7.' -s /bin/zsh -G wheel,audio,video,storage -m exampleuser"
+
+BB_DONT_CACHE = "1"