Neo
July 22, 2021, 9:27am
5
@vbe did provide his reasons for closing your topic. See:
In addition @vbe is French and English is his second language so sometimes fluent English speakers need to be flexible in understanding his more complex ideas he tries to convey in English.
See Also:
Hello everyone!
I have a stupid problem but it is giving me a headache, and I would be very grateful to anyone who wants to give me explanations.
I created a simple script that runs in the background every day by systemd (timer).
This script should run some commands as root and some only as user, but obviously a systemd timer (/etc/systemd/system) runs 100% as root, so those commands that don't want sudo give error.
Is there a way to say: "Run as root only the commands in this script that re…