First question - instead of adding my user to sudoers as I usually would, would it be more secure to switch to a different TTY and do what I need to do logged in as root (and then log out again) in that instead?
Second question - say I was on my typical user account, with X11 running, and there was an X11 keylogger lurking in the background. If I switched to another TTY and was typing in that (just in the TTY, no X11), would the keylogger from TTY1 still be able to keylog TTY2?
No worthless fluff "well at that point, you'd already be pwned!" type answers, please. I'm just curious about the particulars of this stuff. I often hear people call sudo insecure these days and was wondering what alternatives there might be.
Second question - say I was on my typical user account, with X11 running, and there was an X11 keylogger lurking in the background. If I switched to another TTY and was typing in that (just in the TTY, no X11), would the keylogger from TTY1 still be able to keylog TTY2?
No worthless fluff "well at that point, you'd already be pwned!" type answers, please. I'm just curious about the particulars of this stuff. I often hear people call sudo insecure these days and was wondering what alternatives there might be.
Statistics: Posted by pizza-rat — 2023-12-26 01:39 — Replies 1 — Views 118