mirror of
https://github.com/outbackdingo/ucore.git
synced 2026-01-27 18:20:42 +00:00
feat: more secure Cockpit login (#286)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user