From b62dec0d4221724daac15ce9d286c78d6f5e14bc Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 17 Jan 2022 11:17:31 -0700 Subject: [PATCH] Creating user home directory when creating wrolpi user. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b7e0e020..18a652c5 100755 --- a/install.sh +++ b/install.sh @@ -91,7 +91,7 @@ cp /opt/wrolpi/50x.html /var/www/50x.html /usr/sbin/nginx -s reload # Create the WROLPi user -grep wrolpi /etc/passwd || useradd -d /home/wrolpi wrolpi -s "$(command -v bash)" +grep wrolpi /etc/passwd || useradd -md /home/wrolpi wrolpi -s "$(command -v bash)" chown -R wrolpi:wrolpi /opt/wrolpi # Create the media directory. This should be mounted by the maintainer.