←back to thread

466 points CoolCold | 2 comments | | HN request time: 0s | source
Show context
fn-mote ◴[] No.40212557[source]
Overall, this seems great.

However...

> [...] by default it will tint your terminal background in a reddish tone while you are operating with elevated privileges

?!! ouch ... seems orthogonal to the actual important parts.

Disclaimer: I didn't try it.

replies(4): >>40212686 #>>40215695 #>>40219040 #>>40225604 #
NekkoDroid ◴[] No.40212686[source]
I tried it a bit ago (when it was still called uid0, pre-release), I also wasn't a fan of the tinting.

I like the intent behind it, but some terminals already tint the header color when running sudo, I haven't tested if its done specifically for sudo or if its in a more generic way that could handle this as well.

replies(2): >>40212858 #>>40213006 #
Karellen ◴[] No.40212858[source]
> I also wasn't a fan of the tinting.

From the linked mastodon thread:

> For example, by default it will tint your terminal background in a reddish tone while you are operating with elevated privileges. That is supposed to act as a friendly reminder that you haven't given up the privileges yet, and marks the output of all commands that ran with privileges appropriately. (If you don't like this, you can easily turn it off via the --background= switch).

(emphasis mine)

replies(3): >>40215782 #>>40215796 #>>40217102 #
zamadatix ◴[] No.40215796[source]
I think it's more that the default seems backwards than the lack of ability to change it.
replies(1): >>40216064 #
dsr_ ◴[] No.40216064{3}[source]
It's three things:

* here is a feature which we are defaulting to on

* there's no persistent config for it

* we know better than you do about your preferences

replies(1): >>40216974 #
1. zamadatix ◴[] No.40216974{4}[source]
"Defaulting to on" is just a symlink to an existing binary so that's not really much a problem.
replies(1): >>40218213 #
2. gpm ◴[] No.40218213[source]
A symlink to a binary that I'm going to pass a password to seems like a security bug waiting to happen (just in the manner that any complexity around privilege escalation is a bad idea).