make sure $HOME is set

This commit is contained in:
Emil Lerch 2020-01-28 17:10:24 -08:00
parent e63f3617b0
commit 2a5c6373cd
Signed by: lobo
GPG Key ID: CEC5F37C1BE5A481

View File

@ -19,5 +19,5 @@ sudo -u authorizedkeysuser mkdir ~authorizedkeysuser/.aws
sudo -u authorizedkeysuser cp config ~authorizedkeysuser/.aws
sudo -u authorizedkeysuser cp .credentials ~authorizedkeysuser/.aws/credentials
sudo -u authorizedkeysuser chmod 600 ~authorizedkeysuser/.aws/*
sudo -u authorizedkeysuser sh -c 'command -v aws > /dev/null 2>&1 || pip install --user awscli'
sudo -H -u authorizedkeysuser sh -c 'command -v aws > /dev/null 2>&1 || pip install --user awscli'
sudo systemctl restart sshd