Hello community, here is the log from the commit of package yast2-users for openSUSE:Factory checked in at Sun Dec 5 23:20:37 CET 2010. -------- --- yast2-users/yast2-users.changes 2010-09-13 15:42:16.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-users/yast2-users.changes 2010-12-03 12:43:33.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Dec 3 12:41:56 CET 2010 - jsuchome@suse.cz + +- when user is disabled, disable its autologin (bnc#653559) +- 2.20.1 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-users-2.20.0.tar.bz2 New: ---- yast2-users-2.20.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.frsuTC/_old 2010-12-05 23:20:23.000000000 +0100 +++ /var/tmp/diff_new_pack.frsuTC/_new 2010-12-05 23:20:23.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package yast2-users (Version 2.20.0) +# spec file for package yast2-users (Version 2.20.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,11 +19,11 @@ Name: yast2-users -Version: 2.20.0 +Version: 2.20.1 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-users-2.20.0.tar.bz2 +Source0: yast2-users-2.20.1.tar.bz2 Prefix: /usr @@ -50,7 +50,7 @@ This package provides GUI for maintenance of linux users and groups. %prep -%setup -n yast2-users-2.20.0 +%setup -n yast2-users-2.20.1 %build %{prefix}/bin/y2tool y2autoconf @@ -96,5 +96,4 @@ %{_libdir}/YaST2/plugin/libpy2ag_crack.so %{_libdir}/YaST2/plugin/libpy2ag_crack.la %doc %{prefix}/share/doc/packages/yast2-users - %changelog ++++++ yast2-users-2.20.0.tar.bz2 -> yast2-users-2.20.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.20.0/VERSION new/yast2-users-2.20.1/VERSION --- old/yast2-users-2.20.0/VERSION 2010-09-13 15:39:19.000000000 +0200 +++ new/yast2-users-2.20.1/VERSION 2010-12-03 12:42:09.000000000 +0100 @@ -1 +1 @@ -2.20.0 +2.20.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.20.0/src/Users.pm new/yast2-users-2.20.1/src/Users.pm --- old/yast2-users-2.20.0/src/Users.pm 2010-05-24 14:19:11.000000000 +0200 +++ new/yast2-users-2.20.1/src/Users.pm 2010-12-03 10:59:56.000000000 +0100 @@ -3715,6 +3715,11 @@ if ((($user{"modified"} || "") ne "") && $what_user ne "group_change") { $modified_users{$type}{$username} = %user; } + + if (bool ($user{"disabled"}) && Autologin->user () eq $username) { + y2milestone ("user is disabled, disabling autologin"); + Autologin->Disable (); + } } undef %user_in_work; return 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-2.20.0/src/YaPI/USERS.pm new/yast2-users-2.20.1/src/YaPI/USERS.pm --- old/yast2-users-2.20.0/src/YaPI/USERS.pm 2010-09-13 13:23:38.000000000 +0200 +++ new/yast2-users-2.20.1/src/YaPI/USERS.pm 2010-12-03 10:05:13.000000000 +0100 @@ -1231,7 +1231,7 @@ } } # return only requested attributes... - if ($type eq "local" && $config->{"user_attributes"}) { + if (($type eq "local" || $type eq "system") && $config->{"user_attributes"}) { my $attrs = {}; foreach my $key (@{$config->{"user_attributes"}}) { $attrs->{$key} = 1; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org