Questions tagged [gksu]

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

18 questions
7
votes
1 answer

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 asks for the password again. Ubuntu 9.04 wasn't…
answerSeeker
  • 2,297
  • 3
  • 14
  • 16
5
votes
1 answer

gksu replacement

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 clicked the icon a popup asked for the password of…
user1403360
  • 2,000
  • 1
  • 12
  • 11
4
votes
3 answers

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 root privileges using sudo. I've set gksu to use…
JoeNyland
  • 172
  • 2
  • 9
3
votes
2 answers

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 applications as root or different user with an option…
adrelanos
  • 1,786
  • 7
  • 29
  • 56
2
votes
1 answer

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 is just example for watching gksudo's window. $…
jay k
  • 115
  • 8
1
vote
2 answers

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 below is the only trial i tried in the system, which…
Ragav
  • 411
  • 6
  • 18
1
vote
0 answers

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(_get_npm_command("ls -p --depth 0", as_global)) match =…
Folaht
  • 962
  • 5
  • 21
  • 36
1
vote
2 answers

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 work if I do such as gksu -- -S mount … etc. to…
1
vote
0 answers

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 password and not mine. How can I fix this? It's…
John Giotta
  • 111
  • 4
1
vote
0 answers

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 invoking gksudo today to execute a GUI application as…
zepp133
  • 535
  • 4
  • 13
1
vote
0 answers

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! xauth: /tmp/libgksu-h36DCX/.Xauthority STARTUP_ID:…
piotrekkr
  • 499
  • 10
  • 19
0
votes
1 answer

How do I install beesu on CentOS 8?

I have installed CentOS 8 and there is no beesu, or gksu package. I have also tried to install some Fedora rpm packages of beesu, but without success. Previously I used CentOS 7 and I had a desktop shortcut for Root terminal like this: [Desktop…
user339704
0
votes
1 answer

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 the session), but then fails to start the…
P.Péter
  • 525
  • 3
  • 12
0
votes
1 answer

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 Notepadqq will offer the option to retry as root,…
Bagalaw
  • 835
  • 2
  • 9
  • 24
0
votes
1 answer

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 execute: sudo deluge it asks my password and runs as…
1
2