<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-07-20 13:48 GMT+02:00 Kristian <span dir="ltr"><<a href="mailto:kristianonline28@gmail.com" target="_blank">kristianonline28@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ok, I changed the postinstall script based on your suggestions:<br>
<br>
i.e. I changed these two lines:<br>
<span class="gmail-">> WEB_GROUP_ID="$(getent group "${WEB_GROUP}" | cut -d: -f3)"<br>
</span>and<br>
<span class="gmail-">> useradd "$WEB_USER" -g "${WEB_GROUP}" -M -r -s /sbin/nologin -c<br>
<br>
</span>And it worked now. Thank you for your help. :)<br></blockquote><div><br></div><div>You are welcome.</div><div><br></div><div>As you may have guessed the first line </div><div>WEB_GROUP_ID="$(getent group "${WEB_GROUP}" | cut -d: -f3)"<br></div><div><br></div><div>may be suppressed if </div><div>useradd "$WEB_USER" -g "${WEB_GROUP}" -M -r -s /sbin/nologin -c<br></div><div><br></div><div>is OK.</div><div>--</div><div>Eric</div></div>
</div></div>