Control: tags -1 help thanks On Thu, Oct 31, 2024 at 10:11:33PM +0100, Christoph Berg wrote: > So `sudo -u postgres -i` opens a login shell as postgres and starts systemd. > > But `sudo su -`; `su - postgres` opens a login shell as postgres and does not > start systemd. > > sudo shouldn't behave differently here; I guess there is some > difference somewhere in the pam configuration.
>From the bug I only see that you're using testing. testing has a sudo version from january 2024. If this is a recent breakage, then it was another package causing it. PAM is a maze for me. It would probably help if you would give the information that reportbug gives when you file a bug against sudo in the first place. Greetings Marc