hi, On Mon, Jul 28, 2025 at 10:36:36PM +0100, Zakaria via openssh-unix-dev wrote: > After observing the server for months, I noticed I get report of new session > report whenever I run sudo -i who -a command, given because it was only > through sudo by root, for strange reasons, it activates latest ssh session > which I have started and terminated it from previous session with identical > PID and reuses to perform the sudo command. sudo has recently grown the annoying behaviour of opening a pseudo-tty (pty) to run the command you specified in. Which might be reported as "a new session" (new pty, new process group, etc). ceterum censeo sudo delendam esse... gert -- "If was one thing all people took for granted, was conviction that if you feed honest figures into a computer, honest figures come out. Never doubted it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistress Gert Doering - Munich, Germany gert@xxxxxxxxxxxxxx _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev