You are not logged in.

#1 2014-03-19 01:43:37

davidva
Member
Registered: 2014-03-19
Posts: 5

How to display with zenity or yad when Pacaur solicits password root

Hi, I am new using pacaur, and also I am making a shell script with yad.  I need a way to captures with zenity/yad the autentication, when a package comes from AUR, also when comes from official repositories.

Example:

pacaur -S --noconfirm --noedit tomahawk

Last edited by davidva (2014-03-19 01:51:15)

Offline

#2 2014-03-21 11:40:22

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: How to display with zenity or yad when Pacaur solicits password root

You mean like with "gksu"?

Offline

#3 2014-03-21 13:06:35

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: How to display with zenity or yad when Pacaur solicits password root

I would look in to sudo's ask pass feature. Your script may need the DISPLAY and XAUTHORITY variable exported.

Offline

Board footer

Powered by FluxBB