diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-24 22:48:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-24 22:48:18 +0000 |
commit | 3be3b8d7eecc3c14069de85addde570ecb38d43f (patch) | |
tree | 9d0dd0bea8b7efd8eab7d239b6ab1deffcfe70c9 /perl-install | |
parent | b2f85683817b24f675e46a3d8722b929d6812455 (diff) | |
download | drakx-backup-do-not-use-3be3b8d7eecc3c14069de85addde570ecb38d43f.tar drakx-backup-do-not-use-3be3b8d7eecc3c14069de85addde570ecb38d43f.tar.gz drakx-backup-do-not-use-3be3b8d7eecc3c14069de85addde570ecb38d43f.tar.bz2 drakx-backup-do-not-use-3be3b8d7eecc3c14069de85addde570ecb38d43f.tar.xz drakx-backup-do-not-use-3be3b8d7eecc3c14069de85addde570ecb38d43f.zip |
(addUser): disable_user_view (in kdm/gdm) if no users
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 3 insertions, 1 deletions
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 == (); } #------------------------------------------------------------------------------ |