spyder does not work under root! [linux]

Michael Torrie torriem at gmail.com
Mon Oct 11 21:08:14 EDT 2021


On 10/8/21 4:32 PM, Paulo da Silva wrote:
> Às 22:56 de 08/10/21, Paulo da Silva escreveu:
>> Hi!
>>
>> I need to debug a python3 script under root. I tried spyder but it does
>> not work.
>>
>> Running as root without --no-sandbox is not supported. See
>> https://crbug.com/638180.
>>
>> Thanks for any comments including alternative solutions to debug as root.
>>
> I also tried with eric and curiously it gave the same message!!
> 
> This seems crazy.

Not so crazy. It's incredibly dangerous to run a web browser as root.
There's no reason I can think of for running a python script driving a
web browser as root.  Python scripts can easily be run as an arbitrary
user, perhaps from a bash wrapper script using su, or being started from
systemd.



More information about the Python-list mailing list