mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-04 19:58:18 +00:00
Fix add new user home dir permission
This commit is contained in:
@@ -693,7 +693,7 @@ function create_account() {
|
||||
run chmod 700 "/home/${LEMPER_USERNAME}/.ssh" && \
|
||||
run touch "/home/${LEMPER_USERNAME}/.ssh/authorized_keys" && \
|
||||
run chmod 600 "/home/${LEMPER_USERNAME}/.ssh/authorized_keys" && \
|
||||
run chmod 644 "/home/${LEMPER_USERNAME}" && \
|
||||
run chmod 755 "/home/${LEMPER_USERNAME}" && \
|
||||
run chown -hR "${LEMPER_USERNAME}:${LEMPER_USERNAME}" "/home/${LEMPER_USERNAME}"
|
||||
|
||||
# Add account credentials to /srv/.htpasswd.
|
||||
|
||||
Reference in New Issue
Block a user