Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2464

General discussion • Re: Problems with root privileges

$
0
0
Does the "particular function" run a command using sudo?

If so, that is your problem. The Python script is already running as root as you ran it with sudo, so the second sudo is run as root and not "username" and won't work. It's not needed either.

Statistics: Posted by rpdom — Tue May 07, 2024 3:54 pm



Viewing all articles
Browse latest Browse all 2464

Trending Articles