[Bug 1970585] Re: Logic for PermitRootLogin in config script is flipped

2022-04-27 Thread Dominik Zäuner
Oh, I did just see the explanation in the postinst and templates file: Template: openssh-server/permit-root-login Type: boolean Default: true Description: Disable SSH password authentication for root? ** Changed in: openssh (Ubuntu) Status: New => Invalid -- You received this bug

[Bug 1970585] Re: Logic for PermitRootLogin in config script is flipped

2022-04-27 Thread Dominik Zäuner
** Description changed: In the config script of openssh-server, the debconf database is updated with the values that are read from sshd_config. But if I'm not mistaken the yes/no logic is flipped: if [ "$permit_root_login" = yes ]; then -  db_set openssh-server/permit-root-login

[Bug 1970585] Re: Logic for PermitRootLogin in config script is flipped

2022-04-27 Thread Dominik Zäuner
** Information type changed from Private Security to Public Security ** Description changed: In the config script of openssh-server, the debconf database is updated with the values that are read from sshd_config. But if I'm not mistaken the yes/no logic is flipped: if [