diff options
author | Luis Eduardo <leduardo@lsd.ufcg.edu.br> | 2017-12-27 19:47:46 -0300 |
---|---|---|
committer | Luis Eduardo <leduardo@lsd.ufcg.edu.br> | 2018-01-27 17:56:42 -0300 |
commit | b6906a80c726b64c6c1406358af55adb2a5facda (patch) | |
tree | 518f71cd97d6db5aa9d4aafebbbac40c78003a3f /netdata-installer.sh | |
parent | c0e650dabbf9e6f7359dbdfe9e1f76481b017d76 (diff) |
Add netdata to ceph group
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index a756c05921..7acf2951a4 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -1170,6 +1170,15 @@ if [ $? -eq 0 -a "${NETDATA_ADDED_TO_SQUID}" = "1" ] echo " gpasswd -d netdata squid" fi +getent group ceph > /dev/null +if [ $? -eq 0 -a "${NETDATA_ADDED_TO_CEPH}" = "1" ] + then + echo + echo "You may also want to remove the netdata user from the squid group" + echo "by running:" + echo " gpasswd -d netdata ceph" +fi + UNINSTALL chmod 750 netdata-uninstaller.sh |