Questions tagged [pkexec]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Samba config on launcher

I would want to insert an entry to the application launcher for system-config-samba. I used the app AppEditor to create a new entry. In the command line field I put the string 'pkexec system-config-...
0
votes
1answer
7k views

How to move folder in /usr/share/themes

I want to put a folder on /usr/share/themes but it says permission denied. How can i paste a folder on this location?
3
votes
1answer
3k views

Why can I not open gedit with pkexec?

I'm trying to run gedit as root, and heard that it is better to use pkexec over sudo -i. However, when I run pkexec gedit I see this: Unable to init server: Could not connect: Connection refused (...
7
votes
1answer
1k views

What about sudo makes it less secure than pkexec?

I just heard that it isn't recommended to use sudo -i on GUI programs - because it's less secure. Is there any truth here - is there an advantage to this: sudo -i pantheon-files /location over ...