summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index ba273b81b..4dd5dc8e8 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -518,6 +518,9 @@ sub wlan_ng_configure {
dot11WEPDefaultKey0 => qq("$ethntf->{WIRELESS_ENC_KEY}")
)
});
+ #- hide settings for non-root users
+ chmod 0600, $wlan_conf_file;
+ chmod 0600, $wlan_ssid_file;
}
#- apply settings on wlan interface
require services;