Questions tagged [gksu]

gksu is a graphical frontend to su, written for the GNOME desktop environment. It is deprecated in favor of polkit.

Filter by
Sorted by
Tagged with
0
votes
1answer
187 views

gksu not working after upgrade to debian buster

There are a few icons on my (xfce4) desktop that use gksu, for example a root terminal. They used to work fine in debian stretch. Now, gksu asks for the root password (once, it manages to save it for ...
-1
votes
1answer
161 views

Why I get permission denied output why I run, pkexec /opt/lampp/manager-linux-x64.run ? Is it normal?

I was following a link to add Xampp server in "Show all application" section where normally we can see all GUI apps installed. But it's different in case of Xampp. We have to do things manually. So ...
0
votes
0answers
11 views

gVim under other user using gksudo

I want to start gvim as different user (bar) using .desktop file. When I run gksudo -u bar gvim, nothing happens. (No stdout/stderr output.) Why this command does not start gVim? I tried running it ...
0
votes
1answer
225 views

Notepadqq doesn't ask to retry as root, gksu doesn't work

I want to open config files in Notepadqq. When I try to do this normally, I get an error dialog with message "Permission denied" and options Ignore, Abort and Retry. Supposedly if gksu is detected ...
2
votes
1answer
52 views

How to take a screenshot of gksudo's window?

I've been configured a keyboard shortcuts and it is working with others. it doesn't work only with gksudo's window and special system menus. (my laptop is running with Linux Mint 18.2) below command ...
1
vote
2answers
495 views

Disabling “Remember password” for GKSU command

I am using GKSU for switching user in my Linux terminal and I want to disable "Remember password" option in that Pop-up menu due to security reasons. I am not sure how to achieve that. Mentioned ...
0
votes
1answer
615 views

gksudo is different from sudo

Background: I'm running linux mint on a VM env where i have a mounted folder that only root can access and i want my Deluge client to download my torrents to that folder. If i go on terminal and ...
1
vote
0answers
156 views

How do I run a supervisor command in a Eclipse PyDev project without being asked for a password?

So I've got the following code that should check whether an npm package is installed: def is_installed(name, as_global=True): # Returns whether NPM package is installed. s = shell(...
1
vote
2answers
125 views

What does -S mean in gksu — -S mount …?

So, I have a script that uses -S mount nfs -o proto=tcp,port=2049 … etc. to mount a location from another Linux computer. What does -S mean? It seems to work just fine with or without it (it doesn't ...
3
votes
1answer
3k views

gksu replacment

In the old days of CentOS 5 i had an application that run as another user. I created a .desktop file which run a command that looked like this: gksu -u anotheruser someapplication When the user ...
1
vote
0answers
213 views

GUI Authentication Requiring a Different User Auth

A few weeks ago a colleague signed into my Fedora 22 workstation. He too is a group admin. Ever since then whenever I attempt to install or unlock the "Authentication Required" modal requires his ...
0
votes
3answers
794 views

First bash script - Enter root password only once

I wrote a small bash script. It needs root password. There are two commands only, both of which need the permission. So, currently I must enter the superuser password twice - I don't want that. I ...
3
votes
3answers
3k views

Why is gksu asking me for root password and not my password?

On one of my systems, I'm running Gentoo Linux and I've installed x11-libs/gksu-2.0.2-r1. I've disabled the root account using sudo passwd -dl root and I want to be able to run GUI apps which need ...
3
votes
2answers
2k views

Is there a graphical sudo (kdesudo, gksudo, su-to-root, …) tool that works passwordless?

Apparently gksudo is not obeying /etc/sudoers, neither does kdesu. Therefore asking the other way around... Is there any su-to-root, gksudo, kdesudo, etc. alike tool, that supports starting gui ...
1
vote
0answers
78 views

gksudo not honoring configuration in /etc/sudoers

Some time ago I posted a question which was related to whether it is possible to preserve environment variables when sudoing to a different user. As it turned out, this is indeed possible. When ...
1
vote
0answers
548 views

gksu -S ask for password only once even when set to three times in sudo configuration

I have a problem with gksu command. It always ask for password only once even when I set Defaults passwd_tries=3 in /etc/sudoers file. Command: $ gksu -S --debug ls No ask_pass set, using default! ...
0
votes
1answer
2k views

How do I pass my password to gksu?

gksu doesn't has an option like sudo has to pass the password to it in the following way: echo 'password' | sudo -S command Anyway I wonder which is the simplest way to pass my password to gksu. ...
7
votes
1answer
735 views

How to make gksudo or gksu sessions last longer in Linux

Every time I want to open a GUI program that needs root permissions, I have to put my password. For example, I open synaptic and put my password then close it and a second later decide to reopen it it ...