ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] NetworkManager и работа от пользователя
@ 2015-10-26 15:03 Sergey
  2015-10-26 15:14 ` Антон Мидюков
  2015-10-26 15:24 ` Mikhail Efremov
  0 siblings, 2 replies; 5+ messages in thread
From: Sergey @ 2015-10-26 15:03 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Приветствую.

Знает ли кто, как идеологически верно менять настройки в
/usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy ?
Если туда руками лазить, они же должны потеряться при обновлении NM ?

В частности, речь про изменение <allow_active>auth_admin_keep</allow_active>
в секции <action id="org.freedesktop.NetworkManager.settings.modify.system">

-- 
С уважением, Сергей.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] NetworkManager и работа от пользователя
  2015-10-26 15:03 [Comm] NetworkManager и работа от пользователя Sergey
@ 2015-10-26 15:14 ` Антон Мидюков
  2015-10-29 20:03   ` Sergey
  2015-10-26 15:24 ` Mikhail Efremov
  1 sibling, 1 reply; 5+ messages in thread
From: Антон Мидюков @ 2015-10-26 15:14 UTC (permalink / raw)
  To: ALT Linux Community general discussions

26.10.2015 22:03, Sergey пишет:
> Приветствую.
>
> Знает ли кто, как идеологически верно менять настройки в
> /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy ?
> Если туда руками лазить, они же должны потеряться при обновлении NM ?
>
> В частности, речь про изменение <allow_active>auth_admin_keep</allow_active>
> в секции <action id="org.freedesktop.NetworkManager.settings.modify.system">
>
https://www.altlinux.org/Polkit

-- 
С уважением Антон Мидюков <antohami@altlinux.org>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] NetworkManager и работа от пользователя
  2015-10-26 15:03 [Comm] NetworkManager и работа от пользователя Sergey
  2015-10-26 15:14 ` Антон Мидюков
@ 2015-10-26 15:24 ` Mikhail Efremov
  2015-10-29 20:04   ` Sergey
  1 sibling, 1 reply; 5+ messages in thread
From: Mikhail Efremov @ 2015-10-26 15:24 UTC (permalink / raw)
  To: community

On Mon, 26 Oct 2015 19:03:37 +0400 Sergey wrote:
> Приветствую.
> 
> Знает ли кто, как идеологически верно менять настройки в
> /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy ?

Actions менять не предполагается, для кастомизации используются правила
на JavaScript в /etc/polkit-1/rules.d/.
См. http://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html

-- 
WBR, Mikhail Efremov


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] NetworkManager и работа от пользователя
  2015-10-26 15:14 ` Антон Мидюков
@ 2015-10-29 20:03   ` Sergey
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey @ 2015-10-29 20:03 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Monday 26 October 2015, Антон Мидюков wrote:

> > В частности, речь про изменение <allow_active>auth_admin_keep</allow_active>
> > в секции <action id="org.freedesktop.NetworkManager.settings.modify.system">
> >
> https://www.altlinux.org/Polkit
 
Спасибо, пример рабочий. 

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] NetworkManager и работа от пользователя
  2015-10-26 15:24 ` Mikhail Efremov
@ 2015-10-29 20:04   ` Sergey
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey @ 2015-10-29 20:04 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Monday 26 October 2015, Mikhail Efremov wrote:

> Actions менять не предполагается, для кастомизации используются правила
> на JavaScript в /etc/polkit-1/rules.d/.

Понятно. Но конфиги на JavaScript - это как-то через чур выглядит. :-)

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-29 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26 15:03 [Comm] NetworkManager и работа от пользователя Sergey
2015-10-26 15:14 ` Антон Мидюков
2015-10-29 20:03   ` Sergey
2015-10-26 15:24 ` Mikhail Efremov
2015-10-29 20:04   ` Sergey

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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