mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-05 06:09:57 -05:00
Creating user home directory when creating wrolpi user.
This commit is contained in:
parent
58bfde9c9c
commit
b62dec0d42
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue