Allow setting weak passwords
This commit is contained in:
parent
5fe375bba0
commit
4d88c5a71c
30
allow-weak-passwords.patch
Normal file
30
allow-weak-passwords.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
From 985f2a009ddf5179482e7551400cf8065553707e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Catanzaro <mcatanzaro@igalia.com>
|
||||||
|
Date: Wed, 11 Apr 2018 22:16:54 -0500
|
||||||
|
Subject: Revert "Revert "Don't hard-enforce strong passwords""
|
||||||
|
|
||||||
|
This reverts commit 0c67a9800c7832dd55c046adc372833a96a96cf0.
|
||||||
|
|
||||||
|
This is a requirement for Fedora, but I suspect few distros want to
|
||||||
|
irritate users right off the bat by dictating which passwords may be
|
||||||
|
used.
|
||||||
|
---
|
||||||
|
gnome-initial-setup/pages/password/gis-password-page.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/gnome-initial-setup/pages/password/gis-password-page.c b/gnome-initial-setup/pages/password/gis-password-page.c
|
||||||
|
index cf3db9e..731666d 100644
|
||||||
|
--- a/gnome-initial-setup/pages/password/gis-password-page.c
|
||||||
|
+++ b/gnome-initial-setup/pages/password/gis-password-page.c
|
||||||
|
@@ -59,7 +59,7 @@ page_validate (GisPasswordPage *page)
|
||||||
|
{
|
||||||
|
GisPasswordPagePrivate *priv = gis_password_page_get_instance_private (page);
|
||||||
|
|
||||||
|
- return priv->valid_confirm && priv->valid_password;
|
||||||
|
+ return priv->valid_confirm;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
--
|
||||||
|
cgit v0.12
|
||||||
|
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: gnome-initial-setup
|
Name: gnome-initial-setup
|
||||||
Version: 3.28.0
|
Version: 3.28.0
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Bootstrapping your OS
|
Summary: Bootstrapping your OS
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -16,6 +16,8 @@ Source1: vendor.conf
|
|||||||
Patch0: honor-firstboot-disabled.patch
|
Patch0: honor-firstboot-disabled.patch
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=793501 and https://bugzilla.gnome.org/show_bug.cgi?id=794166
|
# https://bugzilla.gnome.org/show_bug.cgi?id=793501 and https://bugzilla.gnome.org/show_bug.cgi?id=794166
|
||||||
Patch1: reduce-initial-setup-redundancy.patch
|
Patch1: reduce-initial-setup-redundancy.patch
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=754213
|
||||||
|
Patch2: allow-weak-passwords.patch
|
||||||
|
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
@ -114,6 +116,9 @@ useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} &>/dev/null ||
|
|||||||
%{_datadir}/gnome-initial-setup/vendor.conf
|
%{_datadir}/gnome-initial-setup/vendor.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 11 2018 Michael Catanzaro <mcatanzaro@gnome.org> - 3.28.0-6
|
||||||
|
- Allow setting weak passwords
|
||||||
|
|
||||||
* Mon Apr 02 2018 Michael Catanzaro <mcatanzaro@gnome.org> - 3.28.0-5
|
* Mon Apr 02 2018 Michael Catanzaro <mcatanzaro@gnome.org> - 3.28.0-5
|
||||||
- Move vendor.conf to /usr/share
|
- Move vendor.conf to /usr/share
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user