From 3be3b8d7eecc3c14069de85addde570ecb38d43f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 24 Mar 2001 22:48:18 +0000 Subject: (addUser): disable_user_view (in kdm/gdm) if no users --- perl-install/install_steps.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 1541ac61c..95f71a7fe 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -452,7 +452,7 @@ Consoles 1,3,4,7 may also contain interesting information"; my $welcome = _("Welcome to %s", "HOSTNAME"); substInFile { s/^(GreetString)=.*/$1=$welcome/ } "$o->{prefix}/usr/share/config/kdmrc"; - substInFile { s/^(UserView)=true/$1=false/ } "$o->{prefix}/usr/share/config/kdmrc" if $o->{security} >= 3 || $o->{authentication}{NIS}; + install_any::disable_user_view($o->{prefix}) if $o->{security} >= 3 || $o->{authentication}{NIS}; run_program::rooted($o->{prefix}, "kdeDesktopCleanup"); #- konsole and gnome-terminal are lamers in exotic languages, link them to something better @@ -618,6 +618,8 @@ sub addUser { any::set_autologin($p, $o->{autologin}, $o->{desktop}); install_any::setAuthentication($o); + + install_any::disable_user_view($p) if @$users == (); } #------------------------------------------------------------------------------ -- cgit v1.2.1