469,331 Members | 5,428 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,331 developers. It's quick & easy.

Get Root access in Linux?

Does anyone know how to call for the root prompt before launching your
app?
Kinda like synaptic or the superuser file manager does?

Thanks,

Tom

Feb 23 '06 #1
5 2609
tb*****@gmail.com wrote:
Does anyone know how to call for the root prompt before launching your
app?
Kinda like synaptic or the superuser file manager does?


That is Windowmanager/Desktop dependand. For KDE, you can e.g. create links
to applications that instruct the KDE to first acquire root privileges. As
gnome and KDE try to become more cooperative especially in config-issues,
you might be lucky and can use one mechanism for both.

However, this is neither a python nor a general unix thing. For better
answers, try and search the KDE/gnome resources.

Diez
Feb 23 '06 #2
sudo is something of a quick fix.

Harlin Seritt

Feb 23 '06 #3
I was thinking you can do a shell call or something and pass the info
for root access.

Feb 23 '06 #4
Then you have root access in that shell only, and not in the 'mother'
python process. I guess Harlins suggestion is the nest: run with sudo

Feb 23 '06 #5
quote:
Does anyone know how to call for the root prompt before launching your
app?
Kinda like synaptic or the superuser file manager does?

Do you mean something like "kdesu" for KDE?
Feb 23 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by sales | last post: by
5 posts views Thread by Jonathan | last post: by
2 posts views Thread by stefari | last post: by
8 posts views Thread by martinnorth | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.