]> git.ipfire.org Git - thirdparty/systemd.git/commit
run/uid0: tint the terminal background color (and add new --background= switch)
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Dec 2023 11:09:27 +0000 (12:09 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Dec 2023 18:15:01 +0000 (19:15 +0100)
commit2f0b4d578b7d3bb7fbaba0cdf3f9bc358a40800d
treebc42fdde0d5dbf9044ec41d718b4879c5312f236
parent447bcbfc903d56615809d7b578ddbec53704ccc5
run/uid0: tint the terminal background color (and add new --background= switch)

This adds a new --background= switch that allows specifiying a
background color for the terminal while the tool runs.

It also teaches the tool when invoked as uid0 to tint the terminal in a
reddish hue when operating as root, and in a yellowish hue when
operating as any other user.

This should highlight nicely when the user is operating with elevated
privileges, or changed privileges.
man/systemd-run.xml
man/uid0.xml
src/run/run.c