ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: superuser menu entries policy draft (menu entry policy extension)
Date: Tue, 30 Aug 2011 13:09:56 +0300
Message-ID: <20110830100956.GA21885@dad.imath.kiev.ua> (raw)
In-Reply-To: <4E5CB2F4.4010108@yandex.ru>

On Tue, Aug 30, 2011 at 01:52:52PM +0400, Радик Юсупов wrote:
> Игорь а чем посоветуете заменить xdg-su например тут: http://git.altlinux.org/people/radik/packages/?p=lxde-settings-abstraction.git;a=blob;f=lxde/pcmanfm/lxde.conf;h=b593090e0aa437521facb1ea2be61610165f0c97;hb=HEAD#l3

запретить легко, а разрешить трудно :(
Т.е. я перечислил плохие альтернативы,
а хорошего идеала я не вижу, к сожалению.

Я бы советовал повесить задачу переезда на policykit на upstream
и __временно__ заменить на beesu.

Развернуто:

Самый простой вариант -- заменить на
su_cmd=beesu -c '%s'
Чревато тем, что это лишняя зависимость на beesu.

можно попробовать написать
su_cmd=pkexec %s
но там также зависимости выписывать, плюс 
оно работать не будет (без конфигов запускаемых приложений
умолчания режут все, что можно; пример неудачного запуска synaptic
~ $ pkexec /usr/sbin/synaptic
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/sbin/synaptic' as the super user
Authenticating as: root
Password: 
==== AUTHENTICATION COMPLETE ===

(synaptic:8933): Gtk-WARNING **: cannot open display:

С третьей стороны, xdg-su помер не родившись --
еще толком не научившись работать (пример:
~ $ xdg-su -c synaptic
xdg-su: no graphical method available for invoking 'synaptic' as 'root'
)
его уже зарезал upstream.

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



  reply	other threads:[~2011-08-30 10:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-29 11:05 Igor Vlasenko
2011-08-29 13:08 ` Peter V. Saveliev
2011-08-29 14:10   ` Igor Vlasenko
2011-08-29 14:21     ` Peter V. Saveliev
2011-08-29 15:22       ` Paul Wolneykien
2011-08-29 16:37         ` Peter V. Saveliev
2011-08-29 16:54         ` Mykola S. Grechukh
2011-08-29 14:43     ` Alexey Shabalin
2011-08-29 15:29       ` Igor Vlasenko
2011-08-29 17:02         ` Igor Vlasenko
2011-08-29 18:53           ` Dmitry V. Levin
2011-08-29 21:14             ` Alexey Shabalin
2011-08-29 21:31               ` Dmitry V. Levin
2011-08-30 10:46                 ` Alexey Shabalin
2011-08-30 13:52                   ` Dmitry V. Levin
2011-08-30 14:49                     ` Alexey Shabalin
2011-08-30  9:52 ` Радик Юсупов
2011-08-30 10:09   ` Igor Vlasenko [this message]
2011-09-20 20:02 ` Igor Vlasenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110830100956.GA21885@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git