SHA256
1
0
forked from cockpit/cockpit

Add motd guidance for setting up otp

This commit is contained in:
Alice Brooks 2024-09-30 08:08:58 +01:00
parent 14257e4afc
commit cb83e616ae
Signed by: abrooks
GPG Key ID: 121CE3F61469DBDB
3 changed files with 18 additions and 0 deletions

10
0006-totp-motd.patch Normal file
View File

@ -0,0 +1,10 @@
--- a/src/systemd/inactive.motd
+++ b/src/systemd/inactive.motd
@@ -1,2 +1,7 @@
Activate the web console with: systemctl enable --now cockpit.socket
+Note: Cockpit disallows root login by default.
+To create a regular user and optionally enable 2FA run both:
+
+jeos-config user
+jeos-config otp

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 30 07:08:12 UTC 2024 - Alice Brooks <alice.brooks@suse.com>
- add 0006-totp-motd.patch for guidance to enabling totp to the mtod
-------------------------------------------------------------------
Tue Aug 20 13:24:06 UTC 2024 - Adam Majer <adam.majer@suse.de>

View File

@ -68,6 +68,7 @@ Patch5: storage-btrfs.patch
# SLE Micro specific patches
Patch101: hide-pcp.patch
Patch102: 0002-selinux-temporary-remove-setroubleshoot-section.patch
Patch107: 0006-totp-motd.patch
# For anything based on SLES 15 codebase (including Leap, SLE Micro)
Patch103: 0004-leap-gnu18-removal.patch
Patch104: selinux_libdir.patch
@ -229,6 +230,7 @@ BuildRequires: python3-tox-current-env
%patch -P 4 -p1
%patch -P 5 -p1
%patch -P 106 -p1
%patch -P 107 -p1
# SLE Micro specific patches
%if 0%{?is_smo}
@ -526,6 +528,7 @@ Requires: cockpit-bridge >= %{version}-%{release}
Requires: shadow-utils
%endif
Requires: grep
Requires: jeos-firstboot
Requires: /usr/bin/pwscore
Requires: /usr/bin/date
Provides: cockpit-shell = %{version}-%{release}