summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/bootlook.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/bootlook.pm b/perl-install/bootlook.pm
index 84c0adb7f..a55443f3a 100644
--- a/perl-install/bootlook.pm
+++ b/perl-install/bootlook.pm
@@ -389,6 +389,7 @@ sub set_autologin {
setVarsInSh("$prefix/etc/sysconfig/autologin",
{ USER => $user, AUTOLOGIN => bool2yesno($user), EXEC => "/usr/X11R6/bin/startx" });
+ chmod 0600, "$prefix/etc/sysconfig/autologin";
# log::l("cat $prefix/etc/sysconfig/autologin: ", cat_("$prefix/etc/sysconfig/autologin"));
}