diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-03-09 21:39:35 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-03-09 21:39:35 +0000 |
commit | f58797190f0979a9f703ccbaa9461df581f7b667 (patch) | |
tree | b33dbd88b2568267821c7deee16283fe7262e089 | |
parent | 877cc8dbbc25a1dd7ed1d28ac06ed716ec37de5b (diff) | |
download | drakx-backup-do-not-use-f58797190f0979a9f703ccbaa9461df581f7b667.tar drakx-backup-do-not-use-f58797190f0979a9f703ccbaa9461df581f7b667.tar.gz drakx-backup-do-not-use-f58797190f0979a9f703ccbaa9461df581f7b667.tar.bz2 drakx-backup-do-not-use-f58797190f0979a9f703ccbaa9461df581f7b667.tar.xz drakx-backup-do-not-use-f58797190f0979a9f703ccbaa9461df581f7b667.zip |
make wpa_supplicant.conf readable by root only
-rw-r--r-- | perl-install/network/network.pm | 2 |
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. |