summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 4feb2061c..ba273b81b 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -606,6 +606,8 @@ sub wpa_supplicant_add_network {
$s .= "}\n";
}
output($wpa_supplicant_conf, $s);
+ #- hide keys for non-root users
+ chmod 0600, $wpa_supplicant_conf;
}
#- configureNetwork2 : configure the network interfaces.