sudo icon indicating copy to clipboard operation
sudo copied to clipboard

Please default to inline over new window

Open dylanmtaylor opened this issue 1 year ago • 5 comments

I love it but new window over inline by default feels like a really bad choice. It’s unfamiliar to users on other platforms, which this is copying. I suggest changing that.

dylanmtaylor avatar Feb 09 '24 02:02 dylanmtaylor

@dylanmtaylor I thought you can define the default behaviour in a Settings window?

PureKrome avatar Feb 09 '24 03:02 PureKrome

Their blog post says that new window is the default

dylanmtaylor avatar Feb 09 '24 04:02 dylanmtaylor

@dylanmtaylor i was referring to this:

image

PureKrome avatar Feb 09 '24 04:02 PureKrome

As I understood, this is why it is not default: https://learn.microsoft.com/en-us/windows/sudo/#security-considerations

Mrxx99 avatar Feb 09 '24 07:02 Mrxx99

Inline sudo is never a safe way and has millons of ways to exploit by a malware because it shares the same input handle/fd. Note that the same security issue also applies to Linux.

hez2010 avatar Feb 09 '24 11:02 hez2010

Thanks for the feedback. We won't be changing the default behavior for the reasons outlined above, but luckily you can set the configuration to whatever choice works best for you and would only have to do so once.

joadoumie avatar Feb 14 '24 22:02 joadoumie