aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/recipes-core/yerba-user
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-20 09:49:35 +1200
committerArslaan Pathan <[email protected]>2026-06-20 09:49:35 +1200
commita9dfd56c0737d290257cdd730b510541411b38a4 (patch)
treefdedced508a42cbc6e17de64647e34c94c22bbfc /meta-yerba/recipes-core/yerba-user
parentac992d8111dc113d27a7cdee6d621bcd6722df26 (diff)
downloadyerbalinux-a9dfd56c0737d290257cdd730b510541411b38a4.tar.xz
yerbalinux-a9dfd56c0737d290257cdd730b510541411b38a4.zip
Use a separate bitbake recipe for this?
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"