Files
2022-12-23 11:58:27 +01:00

24 lines
878 B
BlitzBasic

# Copyright (C) 2022 Vincent BENOIT <vincent.benoit@benserv.fr>
# Release under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "KineIntercom Users"
MAINTAINER = "Vincent BENOIT <vincent.benoit@benserv.fr>"
LICENSE = "CLOSED"
DEPENDS_${PN} = "base-files"
S = "${WORKDIR}"
inherit useradd
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM:${PN} = "--system sudo; --system adm; --system crontab; --system gpio; --system dialout;"
# To change the password use something like this : "mkpasswd -m sha-512 p@ssw0rd -s 'seed'"
# mkpasswd from 'whois' debian package
USERADD_PARAM:${PN} = "--home-dir /home/pi --groups 'sudo,adm,gpio,dialout' --shell /bin/bash --password '\$6\$kineintercom\$G26nnPOLAMnoS6oNyJcfz0rvjF6bGKiiZjjHv8psir93l4pqXRwZgqhT7z/T/sSug51ooGabT4JTJAIEgYZI30' pi;"
# Specify whether to produce an output package even if it is empty
ALLOW_EMPTY:${PN} = "1"