correction des différents bugs

This commit is contained in:
2023-07-11 08:30:14 +00:00
parent faf0597483
commit 940ddd1b1f
10 changed files with 71 additions and 30 deletions

View File

@@ -13,11 +13,11 @@ inherit useradd
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} = "-g 987 --system wazuh;"
GROUPADD_PARAM:${PN} = "-g 987 --system wazuh;"
# To change the password use something like this : "mkpasswd -m sha-512 p@ssw0rd -s 'seed'"
# mkpasswd from 'whois' debian package
USERADD_PARAM_${PN} = "-u 1234 -g 987 --system --shell /bin/bash --password '\$6\$wazuhAgent\$Q/QdBOx6lTuY6Z0P8yTRYboRNil49oNOJOwG41H3.9YLnAMmuKG6qw8hwWuE7r/rdirrd9zhdHVFLJNpJK6Mn1' wazuh"
USERADD_PARAM:${PN} = "-u 1234 -g 987 --system --shell /bin/bash --password '\$6\$wazuhAgent\$Q/QdBOx6lTuY6Z0P8yTRYboRNil49oNOJOwG41H3.9YLnAMmuKG6qw8hwWuE7r/rdirrd9zhdHVFLJNpJK6Mn1' wazuh"
# Specify whether to produce an output package even if it is empty
ALLOW_EMPTY_${PN} = "1"
ALLOW_EMPTY:${PN} = "1"