« Back to Systemd: Frequently Asked Questions

How to disable the background color of run0

How to disable the background color of run0

Use run0 with the --background option and leave the value empty.

run0 --background= COMMAND

Systemd introduced run0 as its alternative to sudo. One of the features if a colored background when your privileges are elevated.

To disable this behaviour, use the option --background= with an empty value.

run0 --background=

The red background now will be gone, which can be useful if the color conflicts with the output or when it is unwanted.

Learn more about run0

This article uses the run0 command to achieve its tasks. For this popular tool there is a cheat sheet available!

» Mastering the tool: run0

run0 cheat sheet

Other questions related to Systemd

    Related articles

    Like to learn more? Here is a list of articles within the same category or having similar tags.

    Feedback

    Small picture of Michael Boelen

    This article has been written by our Linux security expert Michael Boelen. With focus on creating high-quality articles and relevant examples, he wants to improve the field of Linux security. No more web full of copy-pasted blog posts.

    Discovered outdated information or have a question? Share your thoughts. Thanks for your contribution!

    Mastodon icon