feat: more secure Cockpit login (#286)

This commit is contained in:
Benjamin Sherman
2025-09-13 19:28:41 -05:00
committed by GitHub
parent 9cb3366d00
commit da7bec8d25
2 changed files with 4 additions and 3 deletions

View File

@@ -27,9 +27,6 @@ systemctl enable rpm-ostreed-automatic.timer
sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf
# workaround to enable cockpit web logins
rm /etc/ssh/sshd_config.d/40-disable-passwords.conf
# workaround until distrobox patch for this makes it into repos
ln -s ../usr/share/zoneinfo/UTC /etc/localtime

View File

@@ -0,0 +1,4 @@
# uCore modification
# enables Cockpit web login without exposing password auth to network
Match Address 127.0.0.1,::1
PasswordAuthentication yes