D
D
Denis2015-03-30 13:33:09
Python
Denis, 2015-03-30 13:33:09

PyCharm with root privileges?

How to run Python interpreter as root in PyCharm (in debugging)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Salavat Sharapov, 2015-03-30
@Norkotik

I have done this (I use Gnome3):
Created a shortcut on the desktop:

[Desktop Entry]
Name=PyCharm
Comment=Среда разработки PyCharm
GenericName=PyCharm
Keywords=PyCharm;Python;Django;IDE;
Exec=/home/des/pycharm-root.sh
Terminal=false
Type=Application
Icon=/home/des/pycharm/bin/pycharm.png

Made a script pycharm-root.sh
#!/bin/bash
sudo -u root /home/des/pycharm/bin/pycharm.sh

Registered in sudoers
But for some reason it seems to me that this is not what you need *(

A
AVKor, 2015-03-30
@AVKor

M-yes.
Both participants - one does strange, the other wants no less strange.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question