I am ruing one script as root user (It prints "Hi" with sudo and "Bye" without sudo) from my test service which is located at "/etc/systemd/system/". In the output I am unable to see "Hi" which was executed with sudo whereas "bye" is there which was executed without sudo.
Any idea why commands with sudo are not working?
برچسب:
نویسنده: استخدام کار