Skip to content

Commit

Permalink
Merge pull request #335 from plesk/precheck-permit-root-login
Browse files Browse the repository at this point in the history
Verify if PermitRootLogin is configured for sshd before initiating the conversion
  • Loading branch information
SandakovMM authored Aug 21, 2024
2 parents 9912f48 + ee08c15 commit 13a01f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions centos2almaconverter/upgrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def get_check_actions(self, options: typing.Any, phase: Phase) -> typing.List[ac
centos2alma_actions.AssertNoAbsoluteLinksInRoot(),
common_actions.AssertNoMoreThenOneKernelDevelInstalled(),
common_actions.AssertEnoughRamForAmavis(ALMALINUX8_AMAVIS_REQUIRED_RAM, self.amavis_upgrade_allowed),
common_actions.AssertSshPermitRootLoginConfigured(),
# LiteSpeed is not supported yet
common_actions.AssertPleskExtensions(not_installed=["litespeed"])
]
Expand Down
2 changes: 1 addition & 1 deletion dist-upgrader

0 comments on commit 13a01f8

Please sign in to comment.