diff options
author | paulfantom <paulfantom@gmail.com> | 2016-06-08 14:34:11 +0200 |
---|---|---|
committer | paulfantom <paulfantom@gmail.com> | 2016-06-08 14:34:11 +0200 |
commit | 9f116cada4e5eb6ac58b76dd857c4714c55837b4 (patch) | |
tree | 1b1569627cf18474de8fd091157a76d035a7748c | |
parent | 3c05951c2b17a3af9327dbac65bfbdb92bde8a5a (diff) |
ensure correct nologin shell for iser netdata
-rwxr-xr-x | netdata-installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 1c08d8d9b7..14e5f64a58 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -376,7 +376,7 @@ if [ ${UID} -eq 0 ] if [ $? -ne 0 ] then echo >&2 "Adding netdata user account ..." - run useradd -r -g netdata -c netdata -s /sbin/nologin -d / netdata + run useradd -r -g netdata -c netdata -s $(which nologin) -d / netdata fi getent group docker > /dev/null |