summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2018-03-01 00:45:53 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2018-03-01 00:45:53 +0200
commita42120c3ce67ac5c40a98ae17a1736fd53fd1e96 (patch)
tree898b3bcfd0dbdcc60f65ee4f12359ca2132df009 /installer
parentc9aeb55675730000418262a691add94f235a40ec (diff)
do not instruct the movement of the home directory
Diffstat (limited to 'installer')
-rw-r--r--installer/functions.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/installer/functions.sh b/installer/functions.sh
index 514367e2b1..7e522f0aa6 100644
--- a/installer/functions.sh
+++ b/installer/functions.sh
@@ -817,6 +817,15 @@ add_netdata_user_and_group() {
portable_add_user_to_group proxy netdata && NETDATA_ADDED_TO_PROXY=1
portable_add_user_to_group squid netdata && NETDATA_ADDED_TO_SQUID=1
portable_add_user_to_group ceph netdata && NETDATA_ADDED_TO_CEPH=1
+
+ [ ~netdata = / ] && cat <<USERMOD
+
+The netdata user has its home directory set to /
+You may want to change it, using this command:
+
+# usermod -d "${homedir}" netdata
+
+USERMOD
return 0
fi