Skip to content

Commit

Permalink
Merge branch 'fix/1.54.0-pam-error'
Browse files Browse the repository at this point in the history
  • Loading branch information
theCalcaholic committed May 2, 2024
2 parents 8da59ef + 916d56f commit e883baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updates/1.54.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
echo "Update root login prevention method..."
if getent passwd "root" | grep -e '/usr/sbin/nologin'
then
chsh -s /bin/bash root
sed -i '/^root/s|/usr/sbin/nologin|/bin/bash|' /etc/passwd
passwd -l root
if grep '^PermitRootLogin' /etc/ssh/sshd_config
then
Expand Down

0 comments on commit e883baa

Please sign in to comment.