From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ED4oETeSFGI5PAAAgWs5BA (envelope-from ) for ; Tue, 22 Feb 2022 08:35:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GHwCCjeSFGKemQAAG6o9tA (envelope-from ) for ; Tue, 22 Feb 2022 08:35:19 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AB81C3B1C6 for ; Tue, 22 Feb 2022 08:35:18 +0100 (CET) Received: from localhost ([::1]:46226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMPhc-0002nh-OU for larch@yhetil.org; Tue, 22 Feb 2022 02:35:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMPWc-00057F-6B for guix-devel@gnu.org; Tue, 22 Feb 2022 02:23:54 -0500 Received: from mail-tycjpn01olkn2046.outbound.protection.outlook.com ([40.92.99.46]:61021 helo=JPN01-TYC-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMPWZ-0002tC-Ed for guix-devel@gnu.org; Tue, 22 Feb 2022 02:23:53 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BMB5kbhvC992Yn31bMAkU365/1MNgzu1R66zIbvBizSwya0BUVvV91cpPX04w/C6mnA9tvd9m4W9kYH8dG09gR0VVVPbTq52oRmo47YlSU/Pzcf2uJIhCzhpy3DxP9IWUwX4cd2FgBSNJjmHQFLZcLXjOdFflVbmV8x2wW6g73p/ptHP8xKOFWLxI8vrAFAE1WW/a1WR+Zd/lVi1gjN9PxEYh2ma1QOLUPVL767UcQ5nTZ6Lo9235ZdlwYj3h7fMLH80Jb0ZrR8W/3GXazQ/5EMrhcHZ9xjbYJf4XNkff/zqaiH95A4S/hf4P0hN15S9ZhyaPf9QrsdUhGPnRMjGZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KrJWqgE/JGSGqf225KuiYcHSuSX2CmCthKBnyVG4LNw=; b=EJiYnjEyjUs9Q8Z+cITEXrGFQoQc1YndPM9+idJYOBR4Q/KTXePSRbBL9AlvpcZQTG06aplB8WFgQG52tYCdcaTzDRMsJiJhdLniZvc5cV2wCk4sI3mLifb9nfh2ixl6qlySLJU82zqKWDQmWfumpnuITFioCfa6+m3Kr25lJD9ySP6VPGJeqRqffao7kSS6WhcP01WJHeuo9zBWGIqn3Y07QcKdf63m87zuTfwZtPz3O6gkFow58fzbgs7wSD7q0ldzy2gynofdBU5NE2EkgAbdkGIyz7LOH+cPcirl7xMpELjo956HnA7nHr0ARXAXcxURVNdHf4VVu2hh/4bPIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KrJWqgE/JGSGqf225KuiYcHSuSX2CmCthKBnyVG4LNw=; b=aZzz+Bxmk4hX4nGY+Kg2aGi1y1vfuuDswHuUA/yQgGeuaTDW8RIGmzZIuxHC4WFBHZqCXgnX0bSfKWzM/h60WnHb0WXOc3qWrEj3v7UXx0tmgI+VNKZ8ikYH3tDDpUnHbWdfUfMaPuF+tD5d/+ZcT2kfs5ICTCp51khUiNf2AcN302n9rPEjJqdYROURMMnhVKJDPjK89U5eV2Mi9E96tIMUjUtUNgpqbbxnq8WI8oTzc9IDWB8ZT3zIeyPjKDWRA0LT0tNyZEwpBLcEPO5Gj391IlVJqNV500xBX+BSyfwsn6itFvFeLDsKeVFyDt3vTiNzQ+PmBiSzViy4usUbmA== Received: from TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:11e::13) by OS3P286MB1109.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:122::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.15; Tue, 22 Feb 2022 07:04:27 +0000 Received: from TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM ([fe80::51f5:8561:6bc0:1f64]) by TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM ([fe80::51f5:8561:6bc0:1f64%4]) with mapi id 15.20.4995.027; Tue, 22 Feb 2022 07:04:26 +0000 From: =?utf-8?B?5a6L5paH5q2m?= To: tumashu Subject: Re: [bug]: xfce4: xfpm-power-backlight-helper alway let me input password. In-Reply-To: <7c27e895.adc.17f1f04cd97.Coremail.tumashu@163.com> (tumashu@163.com's message of "Tue, 22 Feb 2022 09:21:22 +0800 (CST)") References: <7c27e895.adc.17f1f04cd97.Coremail.tumashu@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) Date: Tue, 22 Feb 2022 15:04:22 +0800 Message-ID: Content-Type: text/plain X-TMN: [AeHyME0jlGpsZaYpCWArllOZD/WaTcHb78h/du4y0UI=] X-ClientProxiedBy: HK2PR06CA0013.apcprd06.prod.outlook.com (2603:1096:202:2e::25) To TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:11e::13) X-Microsoft-Original-Message-ID: <87tucrfkll.fsf@think.home> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c648ee6d-0709-42f0-bdb3-08d9f5d19035 X-MS-TrafficTypeDiagnostic: OS3P286MB1109:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MgOOEMNjlujPfg5lWs+KCcQGiguvBLeopQ1g15srT2SUPT5ISZitqunYWaL14PEtJjwIGpa4SUH2lZUTK1F+Y9SpCQostT+f6Ri/Y3oP1uKC5N21T8Ssrz94sH4hz+N7Dbg+aJw0YumeiJ5qOmGzqdNYPl3VkiqWadJ3MFLQjBtdkdNaygJ+Bowt7G8MnY8vMkhw8b7gRDj/I0N+NXabzrYZ41yTJQbeBbaeqMCb5uEAIwMmUV0dLLwvVnZ35hXUI9haEjTUxz1QS+ImZkqFfzrSMRNtDHH470oITgRhLoFqAPtyb0Irf7dE7smpKVrqpaVg8yzyHqhX6z158XQbPH8OL9byyhNS0AQUGn9MsHjpO9GGOnF8VmBGd/azqQDu6MLP1GSMNNMP5gS+k1OMst4Ad2lITd9icjEciyrxl9fugWLgKfWkxNy+p160KEa69287lt4+ucDqjIZJsvwwoSZZRamy7Dr0ZcL7EWnVuMYLcbBj+gnIKid3dbDtsMqwV4DmmwtjRbOMuT6dLmLrJjTWtIaBFiRV2K6xeHUmyyvS8nX0si9+X4H3zBblM8oMRha4HXKfhA/haJ4mo7SQMQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?gxfe6pjYZ2AEP5g6/3wz8JyZmBbUtClGdSJzByAR/SSsQinlHXNmdDPQrhEN?= =?us-ascii?Q?j60LqUF+vDV7t3tpcePkn/lVYwz0bVLTP5P/DFquih5Vrl02rqdPWOjuHeMO?= =?us-ascii?Q?B3JT0jIytLK8KUSL0JiPZc0EUFTrCOo44UVUWmrMmSMnCRzkOYyKOonOyaNh?= =?us-ascii?Q?7UD1y1VUL1V5shgv64Oh5OXfEL5sAxoya3zld+VZfcm65itxuDChgpHOutef?= =?us-ascii?Q?n3ODlSXuepFtqOJZX5GCv40t17aNTcif0NgvV4XA2L+ZGznztgHmmuZrFmIO?= =?us-ascii?Q?3Cuw//XMWCSneKJnmYW4r0fSFihTQQ51IhyQ7tGJWFPxvQ40nYHX9nzEBd2e?= =?us-ascii?Q?0VXkXKdZmpsOSjWMvCbjVbJbRRi2H8uPmRbm0RJ3LDK45YIOd070ChV2xoQT?= =?us-ascii?Q?BJb1sCnXi8b7hfKRXIRXarCczftwxn8pr3fLt8SnoIz+wfJf69woT109c8yP?= =?us-ascii?Q?ZwE7lyYGSPPVW/gNnffWVyEOgRoy9BgI4ptusY9vepayTkU62l0KscCM14yH?= =?us-ascii?Q?N4grN4qXy07WTTzDDy/XF2vRF/0XTidS8alASd+ZubrJgVWL+s6cuqpbh/TU?= =?us-ascii?Q?6jOkHiryr6zfg98EWFII07U7C4Sx9zuxoXI1jruKDiUledNOwpqBprM45OYg?= =?us-ascii?Q?vH0zHmZoLvAzv43hNeYTWOto6nA13qOGTw2L0T9X6Qly4mHV+KcGZ5Il7QKN?= =?us-ascii?Q?MUQowqCxce6Mb3DqzFV+uxLWlBjnlltKbW7OKWyoVI/4+aWjCBCPTzDJmARe?= =?us-ascii?Q?qz9F648UH2bK49KUNKqCJmczZA16Eka+5P/nL2xqnQVCqo+uvt4UQQoiKuoV?= =?us-ascii?Q?VkgdpedEqvTf1+lZ2hNMpOr+UCNula9e+8rtFwK4KMOk8Ue5dV6qq2xVVbBd?= =?us-ascii?Q?24KCPynkNTg0JvJD/MzsYwRixjz3PQByOAmHUdNIrTVzb73WOzcfoNbpSDWP?= =?us-ascii?Q?IaURyU9ANSd6E16uVSE5ig=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c648ee6d-0709-42f0-bdb3-08d9f5d19035 X-MS-Exchange-CrossTenant-AuthSource: TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2022 07:04:26.9483 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3P286MB1109 Received-SPF: pass client-ip=40.92.99.46; envelope-from=iyzsong@outlook.com; helo=JPN01-TYC-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645515319; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KrJWqgE/JGSGqf225KuiYcHSuSX2CmCthKBnyVG4LNw=; b=LjYJrkQhCW5bVUh55Q4O/X18Mu01JDNYJTFqmS8Owmd8OtQg8RC/dSeqB2AdQb2ps0BvIT NrxwqXWOX1ZSoLfRPDB+E6KuxoyHeGqS9JNpTyJGi6+5qa0ZOrIldk3HlOrhaGYQ6BdjXy OQyGDR+hgI7ZHiyRtK5DGRJhBh6TwPDQ2G/GRtcTG3tEA1Pg6tak+H/BUkcjsAoYXS/07a jJupERTdq0hC3hSWZE9byZ3y6FSY+q/HXBjgK6Di6FkcIm7BXP52zvVVnaZRiUvDO1MKJI LRB1P3/xtqGPkU8iUQY/ZrzO6QbkLcOoW8ywyibJVZwAdE4OF1wgN5YKndrVOw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1645515319; a=rsa-sha256; cv=pass; b=QV1Z6DiOqt756s0HSm/CCbv5foQfIDJ6wJKD9XVs+6CJaFseu4iN1XbcjDW+fMIZO4/+RP 8X2csxenQbsclocrjd0CZ2LqrHhIH9crApSH8ZH/rbb2OaVsBOsPs9NpMati68prI5ks4O o8yDR3Ig43Ajv041K7zcgXffeojTBh+aBTorYuvfSDrSgub6Pr9Hm0xZpfYj4I2KswW07l FOcTwsTtwbj7R1wDWfh6AEWtdJfCbg3ShmnQrxYfvxaAsHMgDOGcsJMQbAoZdZHAOJRbXM PiuOuvyGHk74UcYvSsyXphZCJw12rWHRxsMU4KpPJAkMMoxiIw5B4XIDIFMcSQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=aZzz+Bxm; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=aZzz+Bxm; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AB81C3B1C6 X-Spam-Score: -5.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: rJ/vXjzjCdwy tumashu writes: > Hello: > > When I update my guix system today, I have found that run xfce4: xfpm-power-backlight-helper alway let me input password, how to avoid input password? No answer yet, my understand is that: 1. xfpm-power-backlight-helper need to run with 'pkexec'. 2. 'pkexec' will always ask for password unless some polkit rules allow the action. 3. '/etc/polkit-1/actions/org.xfce.power.policy' allows the action, but its executable is something like '/gnu/store/vsnzjhjm37cd42w7vv7mxgy8hi8w6zi0-xfce4-power-manager-4.16.0/sbin/xfpm-power-backlight-helper'. So run 'pkexec xfpm-power-backlight-helper' will ask for password while 'pkexec /gnu/store/.../xfpm-power-backlight-helper' will not.