Hello community, here is the log from the commit of package yast2-security for openSUSE:Factory checked in at 2015-01-21 21:55:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-security (Old) and /work/SRC/openSUSE:Factory/.yast2-security.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-security" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-security/yast2-security.changes 2015-01-10 23:07:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-security.new/yast2-security.changes 2015-01-21 21:56:17.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Jan 13 13:24:28 UTC 2015 - [email protected] + +- Fixed an error setting the shutdown behaviour of KDM (bnc#907907) +- YaST agents moved to the right location in the source tree +- 3.1.8 + +------------------------------------------------------------------- Old: ---- yast2-security-3.1.7.tar.bz2 New: ---- yast2-security-3.1.8.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-security.spec ++++++ --- /var/tmp/diff_new_pack.OZjwgY/_old 2015-01-21 21:56:18.000000000 +0100 +++ /var/tmp/diff_new_pack.OZjwgY/_new 2015-01-21 21:56:18.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-security -Version: 3.1.7 +Version: 3.1.8 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-security-3.1.7.tar.bz2 -> yast2-security-3.1.8.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/agents/Makefile.am new/yast2-security-3.1.8/agents/Makefile.am --- old/yast2-security-3.1.7/agents/Makefile.am 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/agents/Makefile.am 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -# -# Makefile.am for y2c_sec/agents -# -# $Id$ -# - -scrconf_DATA = $(wildcard *.scr) - -EXTRA_DIST = $(scrconf_DATA) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/agents/cfg_locate.scr new/yast2-security-3.1.8/agents/cfg_locate.scr --- old/yast2-security-3.1.7/agents/cfg_locate.scr 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/agents/cfg_locate.scr 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ -/** - * File: cfg_locate.scr - * Summary: Agent for reading/writing /etc/sysconfig/locate - * Author: Michal Svec <[email protected]> - * Access: read / write - * - * Example: - * Dir(.sysconfig.locate) - * (["PERMISSION_RUN_UPDATEDB_AS", ...]) - ** - * Read(.sysconfig.locate.RUN_UPDATEDB_AS) - * ("root") - ** - * Write(.sysconfig.locate.RUN_UPDATEDB_AS, "root") - * (true) - * - * $Id$ - * - * Read/Sets the values defined in <tt>/etc/sysconfig/locate</tt> - * in an easy manner. - */ -.sysconfig.locate - -`ag_ini( - `SysConfigFile("/etc/sysconfig/locate") -) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/agents/etc_polkit-default-privs_local.scr new/yast2-security-3.1.8/agents/etc_polkit-default-privs_local.scr --- old/yast2-security-3.1.7/agents/etc_polkit-default-privs_local.scr 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/agents/etc_polkit-default-privs_local.scr 1970-01-01 01:00:00.000000000 +0100 @@ -1,23 +0,0 @@ -/* - * File: - * etc.polkit-default-privs_local.scr - * Summary: - * SCR Agent for reading/writing /etc/polkit-default-privs.local - * Access: - * r/w - * - */ -.etc.polkit-default-privs_local - -`ag_ini( - `IniAgent( - "/etc/polkit-default-privs.local", - $[ "options" : ["ignore_case", "global_values", "flat"], - "comments" : [ "^#.*", "^[ \t]*$", ], - "params" : [ - $[ - "match" : [ "^[ \t]*([a-zA-Z0-9_\.]+)[ \t]+(.*[^ \t]|)[ \t]*$", "%s %s", ] - ] - ] - ] - )) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/package/yast2-security.changes new/yast2-security-3.1.8/package/yast2-security.changes --- old/yast2-security-3.1.7/package/yast2-security.changes 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/package/yast2-security.changes 2015-01-13 18:06:10.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jan 13 13:24:28 UTC 2015 - [email protected] + +- Fixed an error setting the shutdown behaviour of KDM (bnc#907907) +- YaST agents moved to the right location in the source tree +- 3.1.8 + +------------------------------------------------------------------- Thu Jan 8 15:30:20 CET 2015 - [email protected] - fix paths for systemd target links (bnc#911523) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/package/yast2-security.spec new/yast2-security-3.1.8/package/yast2-security.spec --- old/yast2-security-3.1.7/package/yast2-security.spec 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/package/yast2-security.spec 2015-01-13 18:06:10.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-security -Version: 3.1.7 +Version: 3.1.8 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/src/Makefile.am new/yast2-security-3.1.8/src/Makefile.am --- old/yast2-security-3.1.7/src/Makefile.am 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/src/Makefile.am 2015-01-13 18:06:10.000000000 +0100 @@ -23,9 +23,14 @@ schemafiles_DATA = \ autoyast-rnc/security.rnc +scrconf_DATA = \ + scrconf/cfg_locate.scr \ + scrconf/etc_polkit-default-privs_local.scr \ + scrconf/kde4_kdmrc.scr + desktop_DATA = \ desktop/security.desktop -EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(schemafiles_DATA) $(desktop_DATA) +EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(schemafiles_DATA) $(scrconf_DATA) $(desktop_DATA) -include $(top_srcdir)/Makefile.am.common \ No newline at end of file +include $(top_srcdir)/Makefile.am.common diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/src/include/security/dialogs.rb new/yast2-security-3.1.8/src/include/security/dialogs.rb --- old/yast2-security-3.1.7/src/include/security/dialogs.rb 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/src/include/security/dialogs.rb 2015-01-13 18:06:10.000000000 +0100 @@ -655,7 +655,7 @@ VSpacing(1), settings2widget("CONSOLE_SHUTDOWN"), VSpacing(1.0), - settings2widget("DISPLAYMANAGER_SHUTDOWN"), + settings2widget("AllowShutdown"), VSpacing(1.0), settings2widget("HIBERNATE_SYSTEM"), VSpacing(1) @@ -714,7 +714,7 @@ if ret == :next || Builtins.contains(@tree_dialogs, ret) widget2settings("CONSOLE_SHUTDOWN") - widget2settings("DISPLAYMANAGER_SHUTDOWN") + widget2settings("AllowShutdown") widget2settings("HIBERNATE_SYSTEM") end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/src/include/security/levels.rb new/yast2-security-3.1.8/src/include/security/levels.rb --- old/yast2-security-3.1.7/src/include/security/levels.rb 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/src/include/security/levels.rb 2015-01-13 18:06:10.000000000 +0100 @@ -76,7 +76,7 @@ "FAIL_DELAY" => "1", "GID_MAX" => "60000", "GID_MIN" => "1000", - "DISPLAYMANAGER_SHUTDOWN" => "all", + "AllowShutdown" => "All", "HIBERNATE_SYSTEM" => "active_console", "PASSWD_ENCRYPTION" => "sha512", "PASSWD_USE_CRACKLIB" => "yes", @@ -115,7 +115,7 @@ "FAIL_DELAY" => "6", "GID_MAX" => "60000", "GID_MIN" => "1000", - "DISPLAYMANAGER_SHUTDOWN" => "root", + "AllowShutdown" => "Root", "HIBERNATE_SYSTEM" => "active_console", "PASSWD_ENCRYPTION" => "sha512", "PASSWD_USE_CRACKLIB" => "yes", @@ -154,7 +154,7 @@ "FAIL_DELAY" => "3", "GID_MAX" => "60000", "GID_MIN" => "1000", - "DISPLAYMANAGER_SHUTDOWN" => "root", + "AllowShutdown" => "Root", "HIBERNATE_SYSTEM" => "active_console", "PASSWD_ENCRYPTION" => "sha512", "PASSWD_USE_CRACKLIB" => "yes", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/src/include/security/widgets.rb new/yast2-security-3.1.8/src/include/security/widgets.rb --- old/yast2-security-3.1.7/src/include/security/widgets.rb 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/src/include/security/widgets.rb 2015-01-13 18:06:10.000000000 +0100 @@ -148,7 +148,7 @@ "Label" => _("M&inimum"), "Value" => "101" }, - "DISPLAYMANAGER_SHUTDOWN" => { + "AllowShutdown" => { "Widget" => "ComboBox", # ComboBox label "Label" => _( @@ -156,15 +156,11 @@ ), "Options" => [ # ComboBox value - ["root", _("Only root")], + ["Root", _("Only root")], # ComboBox value - ["all", _("All Users")], + ["All", _("All Users")], # ComboBox value - ["none", _("Nobody")], - # ComboBox value - # ["local",_("Local Users")], - # ComboBox value - ["auto", _("Automatic")] + ["None", _("Nobody")] ], "Value" => "all" }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/src/modules/Security.rb new/yast2-security-3.1.8/src/modules/Security.rb --- old/yast2-security-3.1.7/src/modules/Security.rb 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/src/modules/Security.rb 2015-01-13 18:06:10.000000000 +0100 @@ -118,7 +118,7 @@ "FAIL_DELAY" => "3", "GID_MAX" => "60000", "GID_MIN" => "1000", - "DISPLAYMANAGER_SHUTDOWN" => "all", + "AllowShutdown" => "all", "HIBERNATE_SYSTEM" => "active_console", "PASSWD_ENCRYPTION" => "sha512", "PASSWD_USE_CRACKLIB" => "yes", @@ -182,11 +182,13 @@ "USERDEL_PRECMD", "USERDEL_POSTCMD" ], + ".kde4.kdmrc" => [ + "AllowShutdown" + ], ".sysconfig.displaymanager" => [ "DISPLAYMANAGER_REMOTE_ACCESS", "DISPLAYMANAGER_ROOT_LOGIN_REMOTE", - "DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN", - "DISPLAYMANAGER_SHUTDOWN" + "DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN" ], ".sysconfig.security" => ["PERMISSION_SECURITY"], ".sysconfig.services" => [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/src/scrconf/cfg_locate.scr new/yast2-security-3.1.8/src/scrconf/cfg_locate.scr --- old/yast2-security-3.1.7/src/scrconf/cfg_locate.scr 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-security-3.1.8/src/scrconf/cfg_locate.scr 2015-01-13 18:06:10.000000000 +0100 @@ -0,0 +1,26 @@ +/** + * File: cfg_locate.scr + * Summary: Agent for reading/writing /etc/sysconfig/locate + * Author: Michal Svec <[email protected]> + * Access: read / write + * + * Example: + * Dir(.sysconfig.locate) + * (["PERMISSION_RUN_UPDATEDB_AS", ...]) + ** + * Read(.sysconfig.locate.RUN_UPDATEDB_AS) + * ("root") + ** + * Write(.sysconfig.locate.RUN_UPDATEDB_AS, "root") + * (true) + * + * $Id$ + * + * Read/Sets the values defined in <tt>/etc/sysconfig/locate</tt> + * in an easy manner. + */ +.sysconfig.locate + +`ag_ini( + `SysConfigFile("/etc/sysconfig/locate") +) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/src/scrconf/etc_polkit-default-privs_local.scr new/yast2-security-3.1.8/src/scrconf/etc_polkit-default-privs_local.scr --- old/yast2-security-3.1.7/src/scrconf/etc_polkit-default-privs_local.scr 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-security-3.1.8/src/scrconf/etc_polkit-default-privs_local.scr 2015-01-13 18:06:10.000000000 +0100 @@ -0,0 +1,23 @@ +/* + * File: + * etc.polkit-default-privs_local.scr + * Summary: + * SCR Agent for reading/writing /etc/polkit-default-privs.local + * Access: + * r/w + * + */ +.etc.polkit-default-privs_local + +`ag_ini( + `IniAgent( + "/etc/polkit-default-privs.local", + $[ "options" : ["ignore_case", "global_values", "flat"], + "comments" : [ "^#.*", "^[ \t]*$", ], + "params" : [ + $[ + "match" : [ "^[ \t]*([a-zA-Z0-9_\.]+)[ \t]+(.*[^ \t]|)[ \t]*$", "%s %s", ] + ] + ] + ] + )) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/src/scrconf/kde4_kdmrc.scr new/yast2-security-3.1.8/src/scrconf/kde4_kdmrc.scr --- old/yast2-security-3.1.7/src/scrconf/kde4_kdmrc.scr 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-security-3.1.8/src/scrconf/kde4_kdmrc.scr 2015-01-13 18:06:10.000000000 +0100 @@ -0,0 +1,23 @@ +/** + * File: kde4_kdmrc.scr + * Summary: Agent for reading/writing kdmrc + * Author: Ancor González Sosa <[email protected]> + * Access: read / write + * + * Read/Sets the values defined in + * <tt>/usr/share/kde4/config/kdm/kdmrc</tt> + */ +.kde4.kdmrc + +`ag_ini( + `IniAgent( + "/usr/share/kde4/config/kdm/kdmrc", + $[ + "options" : ["global_values", "flat"], + "comments" : [ "^#.*", "^;.*", "^[ \t]*$", ], + "params" : [ + $[ "match" : [ "^[ \t]*([^=]*[^ \t=])[ \t]*=[ \t]*(.*[^ \t]|)[ \t]*$" , "%s = %s"],], + ] + ] + ) +) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/test/security_test.rb new/yast2-security-3.1.8/test/security_test.rb --- old/yast2-security-3.1.7/test/security_test.rb 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/test/security_test.rb 2015-01-13 18:06:10.000000000 +0100 @@ -124,12 +124,12 @@ end it "adds missing values" do - Security.Settings["DISPLAYMANAGER_SHUTDOWN"] = "yes" + Security.Settings["AllowShutdown"] = "Root" Security.write_to_locations - expect(written_value_for(".sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN")). - to eq("yes") - expect(was_written?(".sysconfig.displaymanager")).to eq(true) + expect(written_value_for(".kde4.kdmrc.AllowShutdown")). + to eq("Root") + expect(was_written?(".kde4.kdmrc")).to eq(true) end it "updates changed values" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/testsuite/tests/Import.out new/yast2-security-3.1.8/testsuite/tests/Import.out --- old/yast2-security-3.1.7/testsuite/tests/Import.out 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/testsuite/tests/Import.out 2015-01-13 18:06:10.000000000 +0100 @@ -1,5 +1,5 @@ Return true -Dump $["CONSOLE_SHUTDOWN":"reboot", "CRACKLIB_DICT_PATH":"/usr/lib/cracklib_dict", "DISABLE_RESTART_ON_UPDATE":"r13", "DISABLE_STOP_ON_REMOVAL":"r14", "DISPLAYMANAGER_REMOTE_ACCESS":"r4", "DISPLAYMANAGER_ROOT_LOGIN_REMOTE":"r16", "DISPLAYMANAGER_SHUTDOWN":"r3", "DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN":"r17", "FAIL_DELAY":"l2", "GID_MAX":"l3", "GID_MIN":"l4", "HIBERNATE_SYSTEM":"active_console", "PASSWD_ENCRYPTION":"sha512", "PASSWD_REMEMBER_HISTORY":"0", "PASSWD_USE_CRACKLIB":"yes", "PASS_MAX_DAYS":"l7", "PASS_MIN_DAYS":"l9", "PASS_MIN_LEN":"l10", "PASS_WARN_AGE":"l11", "PERMISSION_SECURITY":"r5", "RUNLEVEL3_EXTRA_SERVICES":"no", "RUNLEVEL3_MANDATORY_SERVICES":"yes", "RUNLEVEL5_EXTRA_SERVICES":"no", "RUNLEVEL5_MANDATORY_SERVICES":"yes", "RUN_UPDATEDB_AS":"r7", "SMTPD_LISTEN_REMOTE":"no", "SYSLOG_ON_NO_ERROR":"yes", "SYSTOHC":"yes", "SYS_GID_MAX":"l16", "SYS_GID_MIN":"l17", "SYS_UID_MAX":"l14", "SYS_UID_MIN":"l15", "UID_MAX":"l12", "UID_MIN":"l13", "USERADD_CMD":"l18", "USERDEL_POSTCMD":"l20", "USERDEL_PRECMD":"l19", "kernel.sysrq":"1", "net.ipv4.ip_forward":"0", "net.ipv4.tcp_syncookies":"1", "net.ipv6.conf.all.forwarding":"1"] +Dump $["AllowShutdown":"r3", "CONSOLE_SHUTDOWN":"reboot", "CRACKLIB_DICT_PATH":"/usr/lib/cracklib_dict", "DISABLE_RESTART_ON_UPDATE":"r13", "DISABLE_STOP_ON_REMOVAL":"r14", "DISPLAYMANAGER_REMOTE_ACCESS":"r4", "DISPLAYMANAGER_ROOT_LOGIN_REMOTE":"r16", "DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN":"r17", "FAIL_DELAY":"l2", "GID_MAX":"l3", "GID_MIN":"l4", "HIBERNATE_SYSTEM":"active_console", "PASSWD_ENCRYPTION":"sha512", "PASSWD_REMEMBER_HISTORY":"0", "PASSWD_USE_CRACKLIB":"yes", "PASS_MAX_DAYS":"l7", "PASS_MIN_DAYS":"l9", "PASS_MIN_LEN":"l10", "PASS_WARN_AGE":"l11", "PERMISSION_SECURITY":"r5", "RUNLEVEL3_EXTRA_SERVICES":"no", "RUNLEVEL3_MANDATORY_SERVICES":"yes", "RUNLEVEL5_EXTRA_SERVICES":"no", "RUNLEVEL5_MANDATORY_SERVICES":"yes", "RUN_UPDATEDB_AS":"r7", "SMTPD_LISTEN_REMOTE":"no", "SYSLOG_ON_NO_ERROR":"yes", "SYSTOHC":"yes", "SYS_GID_MAX":"l16", "SYS_GID_MIN":"l17", "SYS_UID_MAX":"l14", "SYS_UID_MIN":"l15", "UID_MAX":"l12", "UID_MIN":"l13", "USERADD_CMD":"l18", "USERDEL_POSTCMD":"l20", "USERDEL_PRECMD":"l19", "kernel.sysrq":"1", "net.ipv4.ip_forward":"0", "net.ipv4.tcp_syncookies":"1", "net.ipv6.conf.all.forwarding":"1"] Dump l15 Dump l14 Dump l17 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/testsuite/tests/Import.rb new/yast2-security-3.1.8/testsuite/tests/Import.rb --- old/yast2-security-3.1.7/testsuite/tests/Import.rb 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/testsuite/tests/Import.rb 2015-01-13 18:06:10.000000000 +0100 @@ -26,7 +26,7 @@ "FAIL_DELAY" => "l2", "GID_MAX" => "l3", "GID_MIN" => "l4", - "DISPLAYMANAGER_SHUTDOWN" => "r3", + "AllowShutdown" => "r3", "PASS_MAX_DAYS" => "l7", "PASS_MIN_DAYS" => "l9", "PASS_MIN_LEN" => "l10", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/testsuite/tests/Level1.out new/yast2-security-3.1.8/testsuite/tests/Level1.out --- old/yast2-security-3.1.7/testsuite/tests/Level1.out 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/testsuite/tests/Level1.out 2015-01-13 18:06:10.000000000 +0100 @@ -28,6 +28,8 @@ Write .etc.login_defs.USERDEL_PRECMD "/usr/sbin/userdel-pre.local" true Read .etc.login_defs.USERDEL_POSTCMD nil Write .etc.login_defs.USERDEL_POSTCMD "/usr/sbin/userdel-post.local" true +Read .kde4.kdmrc.AllowShutdown nil +Write .kde4.kdmrc.AllowShutdown "All" true Read .sysconfig.clock.SYSTOHC nil Write .sysconfig.clock.SYSTOHC "yes" true Read .sysconfig.cron.SYSLOG_ON_NO_ERROR nil @@ -38,8 +40,6 @@ Write .sysconfig.displaymanager.DISPLAYMANAGER_ROOT_LOGIN_REMOTE "no" true Read .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN nil Write .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN "no" true -Read .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN nil -Write .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN "all" true Read .sysconfig.locate.RUN_UPDATEDB_AS nil Write .sysconfig.locate.RUN_UPDATEDB_AS "nobody" true Read .sysconfig.mail.SMTPD_LISTEN_REMOTE nil @@ -51,6 +51,7 @@ Read .sysconfig.services.DISABLE_STOP_ON_REMOVAL nil Write .sysconfig.services.DISABLE_STOP_ON_REMOVAL "no" true Write .etc.login_defs nil true +Write .kde4.kdmrc nil true Write .sysconfig.clock nil true Write .sysconfig.cron nil true Write .sysconfig.displaymanager nil true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/testsuite/tests/Level2.out new/yast2-security-3.1.8/testsuite/tests/Level2.out --- old/yast2-security-3.1.7/testsuite/tests/Level2.out 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/testsuite/tests/Level2.out 2015-01-13 18:06:10.000000000 +0100 @@ -28,6 +28,8 @@ Write .etc.login_defs.USERDEL_PRECMD "/usr/sbin/userdel-pre.local" true Read .etc.login_defs.USERDEL_POSTCMD nil Write .etc.login_defs.USERDEL_POSTCMD "/usr/sbin/userdel-post.local" true +Read .kde4.kdmrc.AllowShutdown nil +Write .kde4.kdmrc.AllowShutdown "Root" true Read .sysconfig.clock.SYSTOHC nil Write .sysconfig.clock.SYSTOHC "yes" true Read .sysconfig.cron.SYSLOG_ON_NO_ERROR nil @@ -38,8 +40,6 @@ Write .sysconfig.displaymanager.DISPLAYMANAGER_ROOT_LOGIN_REMOTE "no" true Read .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN nil Write .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN "no" true -Read .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN nil -Write .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN "root" true Read .sysconfig.locate.RUN_UPDATEDB_AS nil Write .sysconfig.locate.RUN_UPDATEDB_AS "nobody" true Read .sysconfig.mail.SMTPD_LISTEN_REMOTE nil @@ -51,6 +51,7 @@ Read .sysconfig.services.DISABLE_STOP_ON_REMOVAL nil Write .sysconfig.services.DISABLE_STOP_ON_REMOVAL "no" true Write .etc.login_defs nil true +Write .kde4.kdmrc nil true Write .sysconfig.clock nil true Write .sysconfig.cron nil true Write .sysconfig.displaymanager nil true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/testsuite/tests/Level3.out new/yast2-security-3.1.8/testsuite/tests/Level3.out --- old/yast2-security-3.1.7/testsuite/tests/Level3.out 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/testsuite/tests/Level3.out 2015-01-13 18:06:10.000000000 +0100 @@ -28,6 +28,8 @@ Write .etc.login_defs.USERDEL_PRECMD "/usr/sbin/userdel-pre.local" true Read .etc.login_defs.USERDEL_POSTCMD nil Write .etc.login_defs.USERDEL_POSTCMD "/usr/sbin/userdel-post.local" true +Read .kde4.kdmrc.AllowShutdown nil +Write .kde4.kdmrc.AllowShutdown "Root" true Read .sysconfig.clock.SYSTOHC nil Write .sysconfig.clock.SYSTOHC "yes" true Read .sysconfig.cron.SYSLOG_ON_NO_ERROR nil @@ -38,8 +40,6 @@ Write .sysconfig.displaymanager.DISPLAYMANAGER_ROOT_LOGIN_REMOTE "no" true Read .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN nil Write .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN "no" true -Read .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN nil -Write .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN "root" true Read .sysconfig.locate.RUN_UPDATEDB_AS nil Write .sysconfig.locate.RUN_UPDATEDB_AS "nobody" true Read .sysconfig.mail.SMTPD_LISTEN_REMOTE nil @@ -51,6 +51,7 @@ Read .sysconfig.services.DISABLE_STOP_ON_REMOVAL nil Write .sysconfig.services.DISABLE_STOP_ON_REMOVAL "no" true Write .etc.login_defs nil true +Write .kde4.kdmrc nil true Write .sysconfig.clock nil true Write .sysconfig.cron nil true Write .sysconfig.displaymanager nil true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/testsuite/tests/Read.out new/yast2-security-3.1.8/testsuite/tests/Read.out --- old/yast2-security-3.1.7/testsuite/tests/Read.out 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/testsuite/tests/Read.out 2015-01-13 18:06:10.000000000 +0100 @@ -13,6 +13,7 @@ Read .etc.login_defs.USERADD_CMD "l18" Read .etc.login_defs.USERDEL_PRECMD "l19" Read .etc.login_defs.USERDEL_POSTCMD "l20" +Read .kde4.kdmrc.AllowShutdown "r3" Read .target.size "/etc/sysconfig/clock" 1 Read .sysconfig.clock.SYSTOHC "r12" Read .target.size "/etc/sysconfig/cron" 1 @@ -23,8 +24,6 @@ Read .sysconfig.displaymanager.DISPLAYMANAGER_ROOT_LOGIN_REMOTE "r16" Read .target.size "/etc/sysconfig/displaymanager" 1 Read .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN "r17" -Read .target.size "/etc/sysconfig/displaymanager" 1 -Read .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN "r3" Read .target.size "/etc/sysconfig/locate" 1 Read .sysconfig.locate.RUN_UPDATEDB_AS "r7" Read .target.size "/etc/sysconfig/mail" 1 @@ -61,6 +60,7 @@ Read .etc.login_defs.USERADD_CMD "l18" Read .etc.login_defs.USERDEL_PRECMD "l19" Read .etc.login_defs.USERDEL_POSTCMD "l20" +Read .kde4.kdmrc.AllowShutdown "r3" Read .target.size "/etc/sysconfig/clock" 1 Read .sysconfig.clock.SYSTOHC "r12" Read .target.size "/etc/sysconfig/cron" 1 @@ -71,8 +71,6 @@ Read .sysconfig.displaymanager.DISPLAYMANAGER_ROOT_LOGIN_REMOTE "r16" Read .target.size "/etc/sysconfig/displaymanager" 1 Read .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN "r17" -Read .target.size "/etc/sysconfig/displaymanager" 1 -Read .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN "r3" Read .target.size "/etc/sysconfig/locate" 1 Read .sysconfig.locate.RUN_UPDATEDB_AS "r7" Read .target.size "/etc/sysconfig/mail" 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/testsuite/tests/Read.rb new/yast2-security-3.1.8/testsuite/tests/Read.rb --- old/yast2-security-3.1.7/testsuite/tests/Read.rb 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/testsuite/tests/Read.rb 2015-01-13 18:06:10.000000000 +0100 @@ -29,7 +29,6 @@ "CWD_IN_USER_PATH" => "r3" }, "displaymanager" => { - "DISPLAYMANAGER_SHUTDOWN" => "r3", "DISPLAYMANAGER_REMOTE_ACCESS" => "r9", "DISPLAYMANAGER_ROOT_LOGIN_REMOTE" => "r16", "DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN" => "r17" @@ -39,6 +38,9 @@ "cron" => { "SYSLOG_ON_NO_ERROR" => "r15" }, "mail" => { "SMTPD_LISTEN_REMOTE" => "r18" } }, + "kde4" => { + "kdmrc" => { "AllowShutdown" => "r3" } + }, "etc" => { "login_defs" => { "FAIL_DELAY" => "l2", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/testsuite/tests/Write.out new/yast2-security-3.1.8/testsuite/tests/Write.out --- old/yast2-security-3.1.7/testsuite/tests/Write.out 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/testsuite/tests/Write.out 2015-01-13 18:06:10.000000000 +0100 @@ -28,6 +28,8 @@ Write .etc.login_defs.USERDEL_PRECMD "l19" true Read .etc.login_defs.USERDEL_POSTCMD nil Write .etc.login_defs.USERDEL_POSTCMD "l20" true +Read .kde4.kdmrc.AllowShutdown nil +Write .kde4.kdmrc.AllowShutdown "r3" true Read .sysconfig.clock.SYSTOHC nil Write .sysconfig.clock.SYSTOHC "r12" true Read .sysconfig.cron.SYSLOG_ON_NO_ERROR nil @@ -38,8 +40,6 @@ Write .sysconfig.displaymanager.DISPLAYMANAGER_ROOT_LOGIN_REMOTE "r16" true Read .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN nil Write .sysconfig.displaymanager.DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN "r17" true -Read .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN nil -Write .sysconfig.displaymanager.DISPLAYMANAGER_SHUTDOWN "r3" true Read .sysconfig.locate.RUN_UPDATEDB_AS nil Write .sysconfig.locate.RUN_UPDATEDB_AS "r7" true Read .sysconfig.mail.SMTPD_LISTEN_REMOTE nil @@ -51,6 +51,7 @@ Read .sysconfig.services.DISABLE_STOP_ON_REMOVAL nil Write .sysconfig.services.DISABLE_STOP_ON_REMOVAL "r14" true Write .etc.login_defs nil true +Write .kde4.kdmrc nil true Write .sysconfig.clock nil true Write .sysconfig.cron nil true Write .sysconfig.displaymanager nil true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-3.1.7/testsuite/tests/Write.rb new/yast2-security-3.1.8/testsuite/tests/Write.rb --- old/yast2-security-3.1.7/testsuite/tests/Write.rb 2015-01-09 10:31:14.000000000 +0100 +++ new/yast2-security-3.1.8/testsuite/tests/Write.rb 2015-01-13 18:06:10.000000000 +0100 @@ -26,7 +26,7 @@ "FAIL_DELAY" => "l2", "GID_MAX" => "l3", "GID_MIN" => "l4", - "DISPLAYMANAGER_SHUTDOWN" => "r3", + "AllowShutdown" => "r3", "PASS_MAX_DAYS" => "l7", "PASS_MIN_DAYS" => "l9", "PASS_MIN_LEN" => "l10", -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
