From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 12 19:44:39 2025 Received: (at submit) by debbugs.gnu.org; 13 Jan 2025 00:44:39 +0000 Received: from localhost ([127.0.0.1]:49550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tX8ZL-0002y0-AO for submit@debbugs.gnu.org; Sun, 12 Jan 2025 19:44:39 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49660) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tX8ZI-0002xk-5W for submit@debbugs.gnu.org; Sun, 12 Jan 2025 19:44:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tX8ZB-0003H2-7q for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2025 19:44:29 -0500 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tX8Z9-0008WN-Bs for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2025 19:44:28 -0500 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-54026562221so3824308e87.1 for ; Sun, 12 Jan 2025 16:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736729063; x=1737333863; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=sUWVKUBUfjqyN39jklOXp4Z73x/RQKG9naRd9gq56GI=; b=dpEvRfmE/swfjTvygg7G0BYtVbMS0hK7kp9G52WXof08N/OGWa4ev/gXjMKjrHylGd FKf/RyuxVxE4HLup/oXCDkmEY1IxB4dH/9NcnZKYQbAHCzXQb8NtAYhuRJDfJsMpHtAQ AnzSCUw9hBWQaa9uOHV1WeRNHobXAstlA0uTWYWWoGZYarx2g9eflBT19vt3kP8m9v4o Oxz+N/2EXsbgGnWTNkWzackXUI272txnLwcLUO3kXBYBxtfmKZeoH+6XPQedN4qtb3Jb 7dqsSeBPwMKdZjtsEQhz/4mst/aLaq1es2IteoF3B/uAq4ztTSKKJgXU05Tw3m115nPC 9nrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736729063; x=1737333863; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sUWVKUBUfjqyN39jklOXp4Z73x/RQKG9naRd9gq56GI=; b=BMKvnCXT92OtU2sWkUCG0YJXXktokEpIPz0q6BmtdBZied3/pDRxcHoE9AusxijAMz 12jeapBSwcqpLnemGHSUO9WBISkAQ+R1NsVfneRbiVh1PoYhxOiGoCyTxT8C7oA3DZwB 3AS+wGPA6mJGZCFJT2nNod/LkghBxFinz1y9DNZQT82Aa7eOh2PgN5V+nGNUlx9nyjY/ wl2NDIAKlQRA0/Uk1sb8XJ5hTQx1qGSRjc685pGoOKzw7iLGjyAjFJwUPuup/+Tann+h v6A3Obs839ja2ybIhu3PGO+bslIJIIY2Vi6HQf+GGXXwsxW0Z8RWOyWUYc0tAvghFppR zKDQ== X-Gm-Message-State: AOJu0Yyr+QjsZ80FMW3Nuj1UqV3bq+O2IleK6FI1XKY4kL0+BvAmrp1D 6GQZmY0yaLIwpU/c1SYrUv5VPj4D/nQMGQQUd4iCtnBkJye7o8uw+OdKLw== X-Gm-Gg: ASbGnctyKChhWj4NWk9AGjtgfu+ei4spf2817ErAxY6Yp9QyqdEcj1C95SVKHU92f57 dpEelkWnzwqgKNH/0YQzmi6gN2rJ4FIIzneKiAA8nqxIl4msNEU2i7b3AQpAIVEJXZIu+QjqSkR Nw2w/OnB5aXwtyFJ1+sMeXqL79jU9c+h/WOjP9aKdxvvmLEwHcwES+XBpS9+JcytYp7dYCsTGpn lbS8v+ewRGb+JVmmrQqz5J9ZSV/LzlEll3CVGcBcDh1MEXIbJbhRCAdWshQIz4AeovUQU0AGvcq NZjxB674rCjMV8Q= X-Google-Smtp-Source: AGHT+IGfP+JfHNEW0bQ0e9cSyu5ASdcO5jnc58V9TNwUCO5UdlWkKrHtaZf40dWRuPvobhcHQs7xXA== X-Received: by 2002:a05:6512:3996:b0:540:20f5:be77 with SMTP id 2adb3069b0e04-54284507097mr6493445e87.3.1736729062635; Sun, 12 Jan 2025 16:44:22 -0800 (PST) Received: from localhost (c188-150-85-117.bredband.tele2.se. [188.150.85.117]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5428beaaa95sm1183064e87.174.2025.01.12.16.44.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jan 2025 16:44:21 -0800 (PST) From: s.walinder@gmail.com To: bug-gnu-emacs@gnu.org Subject: Support `nixos-rebuild --use-remote-sudo` in `comint-password-prompt-regexp` X-Debbugs-Cc: Date: Mon, 13 Jan 2025 01:44:20 +0100 Message-ID: <87bjwba6fv.fsf@thinkpad-t480.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=s.walinder@gmail.com; helo=mail-lf1-x133.google.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Tags: patch Hello! In NixOS, when running the command `nixos-rebuild` with the argument `--use-remote-sudo`, the password is asked for with the prompt "bash Password:". This adds support for this in `comint-password-prompt-regexp`. I added a test also. Thoughts? In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) Repository revision: e41a7d8127423307018f369e8739319f1de9b3fa Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: NixOS 24.11 (Vicuna) Configured using: 'configure --prefix=/nix/store/wv2ap96hvr0ilf575mwszsva6rvgqdi1-emacs-git-20250107.0 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-cairo --with-xft --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --with-xinput2 --without-xwidgets --with-dbus --with-selinux' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Added-nixos-rebuild-use-remote-sudo-password-prompt.patch >From 349a3dd11d30ba0109a18e860d89cae8e7401638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20W=C3=A5linder?= Date: Mon, 13 Jan 2025 01:28:02 +0100 Subject: [PATCH] Added `nixos-rebuild` `--use-remote-sudo` password prompt --- lisp/comint.el | 2 +- test/lisp/comint-tests.el | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/comint.el b/lisp/comint.el index 2c6845f..f1283f2 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -406,7 +406,7 @@ This variable is buffer-local." "Current" "Enter Auth" "enter auth" "Old" "old" "New" "new" "login" "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO" - "[sudo]" "doas" "Repeat" "Bad" "Retype" "Verify") + "[sudo]" "doas" "Repeat" "Bad" "Retype" "Verify" "bash") t) ;; Allow for user name to precede password equivalent (Bug#31075). " +.*\\)" diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el index 20ef01a..7bcea70 100644 --- a/test/lisp/comint-tests.el +++ b/test/lisp/comint-tests.el @@ -51,7 +51,8 @@ "Enter Auth Password:" ; OpenVPN (Bug#35724) "Verify password: " ; zip -e zipfile.zip ... (Bug#47209) "Mot de Passe :" ; localized (Bug#29729) - "Passwort:") ; localized + "Passwort:" ; localized + "bash Password:") ; nixos-rebuild --use-remote-sudo "List of strings that should match `comint-password-prompt-regexp'.") (ert-deftest comint-test-password-regexp () -- 2.47.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 12 20:53:03 2025 Received: (at submit) by debbugs.gnu.org; 13 Jan 2025 01:53:03 +0000 Received: from localhost ([127.0.0.1]:49636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tX9dX-00061L-B5 for submit@debbugs.gnu.org; Sun, 12 Jan 2025 20:53:03 -0500 Received: from lists.gnu.org ([2001:470:142::17]:45520) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tX9dU-00060o-HK for submit@debbugs.gnu.org; Sun, 12 Jan 2025 20:53:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tX9dO-0008N9-Tn for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2025 20:52:54 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tX9dM-00038i-UI for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2025 20:52:54 -0500 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-aaef00ab172so618202466b.3 for ; Sun, 12 Jan 2025 17:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736733169; x=1737337969; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=OsvMMLc0FWSYNuk128P2DDIyRhysfgEdvoUjQdonavo=; b=YM+G49YOCXhDF79ACGHaZpBQeNanPrnLW1dXtIy19M9yhTbsm4eP2bFPKerpcTe8Fv Sz/nHBCVVaU5DSQ1H7PGsFs+Ag1xbRNsC5a38bxhoI+GnmDR5za7IbK6gGp7cVS3y/A+ XZWgDJwVKrn5TzR0CPZBqE1mfuNIgfrAVFfPABrfcjTJYyUinKcOxBMX12QTIGhYuIKz O6kf05m8NU5fuxNytBYdSLBx+CBvMj5mssnrnwyBaWDUFd7TtsyFoEuNGYMSw34FBalf q/BU13cl8g36uTUQB9kO5LGT/8DRZrLF5R21vtJ2Qx3tj+dOJvrdA9asuyufPA6XjbNP 4NOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736733169; x=1737337969; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OsvMMLc0FWSYNuk128P2DDIyRhysfgEdvoUjQdonavo=; b=lXHnLDsl9LXJJgQVd0MzkWsu6H9HfWkEBBJUPirWcKg0rzvQLsBu50OPFz0P4fsHYO WRKzuGe5CAoWQ48jbm07bvw6/J5S5QjKO7D25PXrgoqI6kSwwMudFbFTO9sxgBaHKvIm JqcEYlAqzOpjIBsV5KYWUWxQiFgK8uiLbda4GfmQUnFLkFueuM+cccJxUNu28iIw9Xm3 gl6LbmsN5v6NWNov1Curlm2L9ZggmyTvnyxNYrYsrxBHCR+iI4a9sNV5US+IcVo/h1xN HI/RUBxgUpmlPp8iv12FE1xwQml7V6usUwcfrwwCE3vd2UAv7j18FoM5DIC0aftnwSCX IFaQ== X-Gm-Message-State: AOJu0YzmBYmucirf/Vns68hhzux+MXNDBdAyA9qcD4c6RIoOmkPW39XI BF2+xTUgiUrVTtybr6BVRfqK+lDcrhfmIL3MlAdzCqob9cHXuGDIkGx6ALmBdpy7ZgLkdj75BiV XXZP17Oy2/v/fo4yG69ThV5uVAmGrqg== X-Gm-Gg: ASbGncvtPIQ3rd1pNhb7MsQzgfJl7FUwJA/G21IBaOxU4Kl6i/+x0WUYWnZAeDqoHyA c1DfsLFwYjILusDdNnrND6Xl5aSgTuYpNPUZqD/s= X-Google-Smtp-Source: AGHT+IHsZ4O2GLSKbvCtzXSPOU0lsVrXM/LD8WwyLIPk1K7l3nweWGexsX6Dr0s3bziCS4uzc9zcH5Hxb2mpy/aharA= X-Received: by 2002:a05:6402:51c9:b0:5d3:ba42:e9e3 with SMTP id 4fb4d7f45d1cf-5d972e0e3a0mr49513707a12.13.1736733168913; Sun, 12 Jan 2025 17:52:48 -0800 (PST) MIME-Version: 1.0 References: <87bjwba6fv.fsf@thinkpad-t480.mail-host-address-is-not-set> In-Reply-To: <87bjwba6fv.fsf@thinkpad-t480.mail-host-address-is-not-set> From: Sebastian Date: Mon, 13 Jan 2025 02:52:37 +0100 X-Gm-Features: AbW1kvYCWiqeQQPbLfO2dHuVjA6_eLca9R2wE-WVwP6mK3uDOhLOnxkstBYDMvE Message-ID: Subject: Re: Support `nixos-rebuild --use-remote-sudo` in `comint-password-prompt-regexp` To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="0000000000009a58b1062b8cb38e" Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=s.walinder@gmail.com; helo=mail-ej1-x635.google.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --0000000000009a58b1062b8cb38e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Actually, I might have misunderstood something here. This patch seems to fail on M-x shell. I will look into it further and confirm. On Mon, Jan 13, 2025 at 1:44=E2=80=AFAM wrote: > Tags: patch > > Hello! > > In NixOS, when running the command `nixos-rebuild` with the argument > `--use-remote-sudo`, the password is asked for with the prompt "bash > Password:". > > This adds support for this in `comint-password-prompt-regexp`. > > I added a test also. > > Thoughts? > > In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.43, cairo version 1.18.2) > Repository revision: e41a7d8127423307018f369e8739319f1de9b3fa > Repository branch: master > Windowing system distributor 'The X.Org Foundation', version 11.0.1210101= 4 > System Description: NixOS 24.11 (Vicuna) > > Configured using: > 'configure > --prefix=3D/nix/store/wv2ap96hvr0ilf575mwszsva6rvgqdi1-emacs-git-2025010= 7.0 > --disable-build-details --with-modules --with-x-toolkit=3Dgtk3 > --with-cairo --with-xft --with-compress-install > --with-toolkit-scroll-bars --with-native-compilation > --without-imagemagick --with-mailutils --without-small-ja-dic > --with-tree-sitter --with-xinput2 --without-xwidgets --with-dbus > --with-selinux' > > --0000000000009a58b1062b8cb38e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Actually, I might have misunderstood something here.<= /div>

This patch seems to fail on M-x shell.

I will look into it further and confirm.
<= br>
On Mon, Jan 13, 2025 at 1:44=E2=80=AFAM <s.walinder@gmail.com> wrote:
Tags: patch

Hello!

In NixOS, when running the command `nixos-rebuild` with the argument `--use= -remote-sudo`, the password is asked for with the prompt "bash Passwor= d:".

This adds support for this in `comint-password-prompt-regexp`.

I added a test also.

Thoughts?

In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.43, cairo version 1.18.2)
Repository revision: e41a7d8127423307018f369e8739319f1de9b3fa
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.1= 2101014
System Description: NixOS 24.11 (Vicuna)

Configured using:
=C2=A0'configure
=C2=A0--prefix=3D/nix/store/wv2ap96hvr0ilf575mwszsva6rvgqdi1-emacs-git-2025= 0107.0
=C2=A0--disable-build-details --with-modules --with-x-toolkit=3Dgtk3
=C2=A0--with-cairo --with-xft --with-compress-install
=C2=A0--with-toolkit-scroll-bars --with-native-compilation
=C2=A0--without-imagemagick --with-mailutils --without-small-ja-dic
=C2=A0--with-tree-sitter --with-xinput2 --without-xwidgets --with-dbus
=C2=A0--with-selinux'

--0000000000009a58b1062b8cb38e-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 12 20:59:28 2025 Received: (at submit) by debbugs.gnu.org; 13 Jan 2025 01:59:28 +0000 Received: from localhost ([127.0.0.1]:49643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tX9jj-0006Gu-Qc for submit@debbugs.gnu.org; Sun, 12 Jan 2025 20:59:28 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57364) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tX9jg-0006Gb-RF for submit@debbugs.gnu.org; Sun, 12 Jan 2025 20:59:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tX9jb-0000Ks-EW for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2025 20:59:19 -0500 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tX9jZ-0005En-Qu for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2025 20:59:19 -0500 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-aae81f4fdc4so748862866b.0 for ; Sun, 12 Jan 2025 17:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736733555; x=1737338355; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=HBdM1dWE3Ft7mDu4Q+D7F6AmFu8qmT5TR4ZMG5Z6mDU=; b=FkXrhuBbXq8Wwa+AoZ/sPvPP/h6+X1yjExJ3trNkcpDc6xWT1so29UBF3qHpLqQfhA jQ3tqWa9Hv5PAMAgnFZvOrCU3K69DV+m8waWbCQCyUI1z5X5H7v5BKJIqdGPSGgkDEHN XDWNTpOypJYRpm2knwgKdUKBIfTss+zeYNq6MSD38sdrVex3I1nrJZ/m1lDzPtMxJVNV Lgpqp+sW7fU9owYIYW4Pq1xerkVpWeknR/BQJhj21wzJ/ucwsosSrkRSzk6MF+prZYDi t7ofvIWWuwtS0NGgOi9OgR8lEObHNCurD6aHzk4ps4oaT5acWid7z6o/S5YQ/IlJQrTY e2YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736733555; x=1737338355; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HBdM1dWE3Ft7mDu4Q+D7F6AmFu8qmT5TR4ZMG5Z6mDU=; b=ri3IPAdbeL3crhNz0PqqSGLzPZPFvk/0b+xrYOL3myqtBM/Fr6K5olAS7r+jW3pU8f eJengFxwo60zqKINXehQ5mLImmty4I/JmDu0qKVPDesXzlG9tMOv+I4BNn88SMbe063F bJPN1UkbPVtn2eiAezlKNVfK+DZYh2zRf5z8NrjV6X/aSjaMvKuzrzBShOR0sU8iX6hf MndbckQi+ORTFNm9QWn3upwHTvwzgSzBfijsASFXyTxtDSjPjHpjY2z8FU9674Cl2O87 ud7M7hdG2ZSFgo2C6b9vf7XnzB1hS5G4J4V6Z8vE7KLhU49kEN43hHA7fhwOXhjQXsCB oqpQ== X-Gm-Message-State: AOJu0Ywq1gR3YbTOO6BTH9tqCUHhYL9piWaIcCwiQnnjP5PRjRm4FdPR 0Ptgp2c4O2aI+9efJNfnQ/7GFkutDkfKWzKWmFgWsHNaffO+92LwHQOCU2Sw+DCEEGyouavlCYZ 21IvlpX01WtDBqzH1CaioCdEf349jNg== X-Gm-Gg: ASbGncu8NrkpuDqupMaar20NnJagsLi0d9Xp0hsjn4bAa0Mpm+lnr14Ej/SP0UYVF2E oOkcsYFd+SrJ4r9BUvJJgQU3qyE/hMsCK8tNVlFg= X-Google-Smtp-Source: AGHT+IFu0ppE8gFVaVExFNw/muxYVMVwT/I5eiMRYO+UVgrS/hhyu8wnbgMrRNLctJwBApV2h3dWcrqRDpHMaz4dV04= X-Received: by 2002:a17:907:2d2c:b0:aaf:8720:d192 with SMTP id a640c23a62f3a-ab2ab6fe02cmr1584103866b.21.1736733555449; Sun, 12 Jan 2025 17:59:15 -0800 (PST) MIME-Version: 1.0 References: <87bjwba6fv.fsf@thinkpad-t480.mail-host-address-is-not-set> In-Reply-To: From: Sebastian Date: Mon, 13 Jan 2025 02:59:04 +0100 X-Gm-Features: AbW1kva6Sth7y6ohkd-_3fymLIZq5hR_4mQ_PfHmIitm7Cb-KcPqu5SPtHnMI_0 Message-ID: Subject: Re: Support `nixos-rebuild --use-remote-sudo` in `comint-password-prompt-regexp` To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000a4694f062b8cca75" Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=s.walinder@gmail.com; helo=mail-ej1-x630.google.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --000000000000a4694f062b8cca75 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yeah, this is wrong, my bad. Please close this patch. Thanks! On Mon, Jan 13, 2025 at 2:52=E2=80=AFAM Sebastian wr= ote: > Actually, I might have misunderstood something here. > > This patch seems to fail on M-x shell. > > I will look into it further and confirm. > > On Mon, Jan 13, 2025 at 1:44=E2=80=AFAM wrote: > >> Tags: patch >> >> Hello! >> >> In NixOS, when running the command `nixos-rebuild` with the argument >> `--use-remote-sudo`, the password is asked for with the prompt "bash >> Password:". >> >> This adds support for this in `comint-password-prompt-regexp`. >> >> I added a test also. >> >> Thoughts? >> >> In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version >> 3.24.43, cairo version 1.18.2) >> Repository revision: e41a7d8127423307018f369e8739319f1de9b3fa >> Repository branch: master >> Windowing system distributor 'The X.Org Foundation', version 11.0.121010= 14 >> System Description: NixOS 24.11 (Vicuna) >> >> Configured using: >> 'configure >> --prefix=3D/nix/store/wv2ap96hvr0ilf575mwszsva6rvgqdi1-emacs-git-202501= 07.0 >> --disable-build-details --with-modules --with-x-toolkit=3Dgtk3 >> --with-cairo --with-xft --with-compress-install >> --with-toolkit-scroll-bars --with-native-compilation >> --without-imagemagick --with-mailutils --without-small-ja-dic >> --with-tree-sitter --with-xinput2 --without-xwidgets --with-dbus >> --with-selinux' >> >> --000000000000a4694f062b8cca75 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yeah, this is wrong, my bad.

Please close this patch.

Thanks!

On Mon, Jan 13, 2025 at 2:52=E2=80=AFAM Sebastian <s.walinder@gmail.com> wrote:
=
Actually, I might have misunderstood something here.

This patch seems to fail on M-x shell.

I will look into it further and confirm.

On Mon, Jan 13, 2025 at = 1:44=E2=80=AFAM <s.walinder@gmail.com> wrote:
Tags: patch

Hello!

In NixOS, when running the command `nixos-rebuild` with the argument `--use= -remote-sudo`, the password is asked for with the prompt "bash Passwor= d:".

This adds support for this in `comint-password-prompt-regexp`.

I added a test also.

Thoughts?

In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.43, cairo version 1.18.2)
Repository revision: e41a7d8127423307018f369e8739319f1de9b3fa
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.1= 2101014
System Description: NixOS 24.11 (Vicuna)

Configured using:
=C2=A0'configure
=C2=A0--prefix=3D/nix/store/wv2ap96hvr0ilf575mwszsva6rvgqdi1-emacs-git-2025= 0107.0
=C2=A0--disable-build-details --with-modules --with-x-toolkit=3Dgtk3
=C2=A0--with-cairo --with-xft --with-compress-install
=C2=A0--with-toolkit-scroll-bars --with-native-compilation
=C2=A0--without-imagemagick --with-mailutils --without-small-ja-dic
=C2=A0--with-tree-sitter --with-xinput2 --without-xwidgets --with-dbus
=C2=A0--with-selinux'

--000000000000a4694f062b8cca75-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 13 07:44:08 2025 Received: (at 75529-done) by debbugs.gnu.org; 13 Jan 2025 12:44:08 +0000 Received: from localhost ([127.0.0.1]:50606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXJnc-0001jr-2i for submit@debbugs.gnu.org; Mon, 13 Jan 2025 07:44:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48306) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tXJnZ-0001jD-UL for 75529-done@debbugs.gnu.org; Mon, 13 Jan 2025 07:44:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tXJnU-0000s7-FG; Mon, 13 Jan 2025 07:44:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/tefmHyxh4aZzTHMYiu71ZvLjiqEIwacQTLKxxpd18c=; b=SsYlV5Z5JbIc gbjfbF4ENinVOW/JDf5f3kGb5aH0GrZ6zRHLlGZdfvO8mEGWpF/zXBIBMWLzwL8z9AOYF3D56KAiZ SxeFRe1taYdEjiXl5ghpSfnMLqWNHxa1uo4LhyXlLaSJqLF+xwHQr7yJ4/2ppHzrd0B/6OZVUnuUw XByJprTWFN9QtqNg0NSX4y+thsSy2J07cqZGP842bVqdgD0DcnQEuVxMtqno6N3iMmYwArDeXewmy L1fzTXqM0f8oYDIVEs5Y/bR9BmEkECL9ZMWNSqRyTM04iRX8rHPexU1tptUP1tyXS8skbci4FSxPT jLgedGCoVw/jv3fTSgacbw==; Date: Mon, 13 Jan 2025 14:43:28 +0200 Message-Id: <868qrex4sv.fsf@gnu.org> From: Eli Zaretskii To: Sebastian In-Reply-To: (message from Sebastian on Mon, 13 Jan 2025 02:59:04 +0100) Subject: Re: bug#75529: Support `nixos-rebuild --use-remote-sudo` in `comint-password-prompt-regexp` References: <87bjwba6fv.fsf@thinkpad-t480.mail-host-address-is-not-set> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75529-done Cc: 75529-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sebastian > Date: Mon, 13 Jan 2025 02:59:04 +0100 > > Yeah, this is wrong, my bad. > > Please close this patch. Done, thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 13 09:22:03 2025 Received: (at 75529) by debbugs.gnu.org; 13 Jan 2025 14:22:03 +0000 Received: from localhost ([127.0.0.1]:50777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXLKN-000677-0a for submit@debbugs.gnu.org; Mon, 13 Jan 2025 09:22:03 -0500 Received: from mout.gmx.net ([212.227.15.18]:39747) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tXLKK-00066X-4q for 75529@debbugs.gnu.org; Mon, 13 Jan 2025 09:22:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1736778113; x=1737382913; i=michael.albinus@gmx.de; bh=218nX9XLox+3j/EosJ3XxAmxVTepVU6lI0f0deh1kBA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=gusJsEpAzlZzjsPViBCW/v06wF10TXbM/W7UrtnFgdd3G712TFtQnJwyK/2dttNZ I8SMUWAGtCFYRzd7KkFcToproKt1/bL9EgM6UPtUedDHTm1mxFVT4aJsc//B/klRi 1vNmO0fu5yDlxuP2FLdoCL3+m2ffHHOes2K3+6nzwdeU+F8QTgymLX3tJxERzmWmG 5rYdb9AK9+C5cl7F1DdmAQU8LrfPYyNME7TMJHNEWNy7nsIEFjQzWQEFxaf4VWXA4 RoebRo0SBfnKRbXjk34g2MuymaUOOshlih5MSTWFFw3NDEu4dnlDRT8MsWyu1LJmV yW36dw1wh4O2uPri3A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1ML9uK-1tpYxv1HCU-00Qsld; Mon, 13 Jan 2025 15:21:53 +0100 From: Michael Albinus To: 75529@debbugs.gnu.org Subject: Re: bug#75529: Support `nixos-rebuild --use-remote-sudo` in `comint-password-prompt-regexp` In-Reply-To: <868qrex4sv.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 13 Jan 2025 14:43:28 +0200") References: <87bjwba6fv.fsf@thinkpad-t480.mail-host-address-is-not-set> <868qrex4sv.fsf@gnu.org> Date: Mon, 13 Jan 2025 15:21:52 +0100 Message-ID: <87h6627q0v.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ETirW+uXMpDarPYCq0UuU7qbgB0ddMRvq2xa7Sux9MUgGO00sfq bfuBx2tUU+L//TYLQc5+RpK3Mm/D1/wc53NVvkPKyAAHDeTqWEMbD1WpRplBRittFHS87r6 18uwiC7jevug5UP8Jcx7qYhbxMY4LTroVfMbTRuAtrHUeMM0ygVBRtBCuSDqjtW1Idx+Qxv 2wzIrRaOoIJFI17UNTcEw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:7eKsK4lfYZ4=;aWijyBHMDmggWKBRMF83k+UBq5y XYZ0J4DhIDSnNKyEnKz+Y574rP50IYutXkxeOiNVFHcoRGYnGT3PcWyezQhtV5FkYEPdIUVB2 2jfbUbzAHVI0NBbRBjIgScZ+o1XMGwbmcGwsoDNFJUD5q1Ym4uQKEVFXApJnINAS1+8ISVoKl o2RBk0ChUOp0JE4MQLHkSppckh3aNijjpu9hchqGsHFwDNYsyI+NyVCqNBmJgbcKE3sIq1OBa n+ZV0Jl5kCf6UBVJnNmERAvYUoBJhFq2vdhI8nXr+9vW45w1H7iFPKk1mJseHiBxa8bSyVVoh I0cCa2OpAqVMTbR6maLTlR1z2tivkkgDVB06ii996SBEDs401MHTYFxJA27dMQS42Ne3EskFD Xu4ygOcGRziGwCkgZfEESqdIVJhFrWK3IqwRYp59KWc0PoUP4kqo1OTnH/6bFxjjs0WqhFOW/ zFKGuQagP5sSjM6NmPPJ3RvxQ89SuKCl0tQ2Z4ofz5cmkFsNaBBzXH6V2Sz5UHDaEyzl2NbQO IDNYsNkB0ubL/2In2YUIP2W793RjumYi9LYGfUztXcPUGK+CusrZ4sXBV375qW/MAdLlH+pD7 P8fEJ3/MEl/NEk2XKxvjw/4qgPxC318iYo9Hb+s/UKmgTC0COpMjjW+5rqcdpADjURjvzcJG+ vAVAW3jC9r9AaIUxo12qZWWkCTKuhf6AQLNf7wC50ZjPpzeGd5PdxT4s74soous1D2jFIEX23 w2cAFNMmNwPp35p1iJ4Q77xiBsu9DYY7todB9Q9CTj9FNwYPNXGjscI09a5h2ALdggmsJyKm8 kS9fD/A+jVxBrx7D/E2JdcFS3z+QPW7FKT7TN+YNFe2PCGlsrveKX2i4wrAamJ/dzVZ9VzHZr U/4FRVP4Dn9/IGj1ucZi3VCjgTzAwwnyumjp7bIcYVMrGDt0hi9OMxOh0o5ulRciDB1KFwHun Fnj8scBoijXWdyv82nze2EIzX/d5JBn9GDs12w3AtdInUjTlVm5SpXIhJVYcg32y58harr2IS jv4Br5E7pA5meU0PeEljkiA7Ls6DfUD4NTir/20e2GnG2//RJcekv4u77a4z9i7XELdOLYbBd EQrgp6NDKP+UkbeV8cZEYwaZb2GHHw Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 75529 Cc: eliz@gnu.org, s.walinder@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, >> Yeah, this is wrong, my bad. >> >> Please close this patch. > > Done, thanks. Sebastian wrote "close this patch", not "close the bug". Sebastian, if this is still a problem for you, pls send the output of 'nixos-rebuild --use-remote-sudo', including the password prompt. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 13 09:35:26 2025 Received: (at 75529) by debbugs.gnu.org; 13 Jan 2025 14:35:26 +0000 Received: from localhost ([127.0.0.1]:50806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXLXK-0006sv-0g for submit@debbugs.gnu.org; Mon, 13 Jan 2025 09:35:26 -0500 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:56539) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tXLXG-0006sb-WF for 75529@debbugs.gnu.org; Mon, 13 Jan 2025 09:35:24 -0500 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5d3f65844deso7163421a12.0 for <75529@debbugs.gnu.org>; Mon, 13 Jan 2025 06:35:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736778917; x=1737383717; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u1JKR7s3w4ktACpkYziXjRdnxj5g3At1BjcuZMTMmqU=; b=XvXqXGanqSOZztoY/NJS0c5oIcXx1MkHU1V3K/wO2/8RdBKmHhreA9ViVrLoWE1sKS 8BkpdeJeRm8/rcDuNp7PBtD5ODBcUI1z/CIPnoCHC3EngS3Rc1HG1N6ZLVVuFulFtJ7l hGWHGLWvyEcV8dO5AEMbzjQdDoJNFoi7nrvLKMYQ9iW+75bG2g3NSMEHnC5Bjc3efssU PxS6mWrVbATSKv4HgPSCW0ZOA+pP4kShehAlRBamqiTzD7IZrKKa0uxIUK//2CfXqUDG uLLUp58v16U9uBSQ+FcFCbPLgik2aFK+92Mx4H/EobHc7kWAaG8Qm5XqorlbTNWBse3F vLqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736778917; x=1737383717; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u1JKR7s3w4ktACpkYziXjRdnxj5g3At1BjcuZMTMmqU=; b=ES1rENIXuOUSJ8x7rhkROu6s/nu3sKufC8mWQvzUGmsWybED9Xj8ADB8RwUB4l/jjI Gw2awj7Keq1P+1jqeSHKVQ6yVSeI8d69dKQUWbsUKex59hmMcmzMKM4/rbL1JZEUpgil tlXWYYK8wS4tE6VmEnAqTuHYmrt84wa1JEQ0VVrpO8DTtaP8m4cNXWd3X5Xrfs5ERB0i CemscWGVcvINYQnnRk/qOV7a1njFMAAuA83vvxrRpBkTGFjmxcQ8r0nox/qBJ3XJ2v25 ZI7bDJb//zwPjyYh8x3YfiUuRMjf3unD9gWluvzK3m3g+yBq15JtOaYZyQjqkZRBWuK3 u4zg== X-Gm-Message-State: AOJu0Yw0J4yHRzpMYJjfvO6yCkFX3vFHaZsb1RkaRZ4hn0cMfD+eVCSv PGVqKYZg2TRfqbunByXyNJw6m/QneNkZHwN374t2kzTlTCrP+s5E6GRBIE0OYswoAozEMNlDcWG ufuj0okBIk7zQxwsAR+jYqBe1wEg= X-Gm-Gg: ASbGncvyhCiUg4TI4smnHHCVf7jgbvThtCD4OEcI+hrjolDDo/jqu6hCutUzIjMUW6r 0T1imRlA83KiPjWOi0lMcCgmjzcfQpAzTEeAnIZs= X-Google-Smtp-Source: AGHT+IHM07YEIwSrltKp+6UH8NkjEOncOHcUNuwMI+dwF6/iTfjl8ffErVjm4dL786Jci/gyeMs+DovN73n4R7Z6YmE= X-Received: by 2002:a17:907:998c:b0:ab2:c2f1:4578 with SMTP id a640c23a62f3a-ab2c2f145fdmr1601869966b.4.1736778916461; Mon, 13 Jan 2025 06:35:16 -0800 (PST) MIME-Version: 1.0 References: <87bjwba6fv.fsf@thinkpad-t480.mail-host-address-is-not-set> <868qrex4sv.fsf@gnu.org> <87h6627q0v.fsf@gmx.de> In-Reply-To: <87h6627q0v.fsf@gmx.de> From: Sebastian Date: Mon, 13 Jan 2025 15:35:07 +0100 X-Gm-Features: AbW1kvZA7GnxBNp6jXDwl5tVuomZDeNgpgzXu17919LojjBA8ZZgQSSzApVj2Us Message-ID: Subject: Re: bug#75529: Support `nixos-rebuild --use-remote-sudo` in `comint-password-prompt-regexp` To: Michael Albinus Content-Type: multipart/alternative; boundary="0000000000005e8740062b975aa1" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75529 Cc: 75529@debbugs.gnu.org, eliz@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000005e8740062b975aa1 Content-Type: text/plain; charset="UTF-8" Hi! Thanks, but you can close the bug. What doesn't work is for the command I mentioned to use auth-source for escalation, but that's a different issue that I haven't researched yet. On Mon, Jan 13, 2025, 15:21 Michael Albinus wrote: > Eli Zaretskii writes: > > Hi Eli, > > >> Yeah, this is wrong, my bad. > >> > >> Please close this patch. > > > > Done, thanks. > > Sebastian wrote "close this patch", not "close the bug". > > Sebastian, if this is still a problem for you, pls send the output of > 'nixos-rebuild --use-remote-sudo', including the password prompt. > > Best regards, Michael. > --0000000000005e8740062b975aa1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi!

Thanks, but you can close the bug.

What doesn't work is for the command I mentioned to use = auth-source for escalation, but that's a different issue that I haven&#= 39;t researched yet.


On Mon, Jan 13, 2025, 15:21 Michael Albinus <michael.albinus@gmx.de> wrote:
Eli Zaretskii <eliz@gnu.org> writes:<= br>
Hi Eli,

>> Yeah, this is wrong, my bad.
>>
>> Please close this patch.
>
> Done, thanks.

Sebastian wrote "close this patch", not "close the bug"= .

Sebastian, if this is still a problem for you, pls send the output of
'nixos-rebuild --use-remote-sudo', including the password prompt.
Best regards, Michael.
--0000000000005e8740062b975aa1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 13 09:40:59 2025 Received: (at 75529) by debbugs.gnu.org; 13 Jan 2025 14:40:59 +0000 Received: from localhost ([127.0.0.1]:50826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXLcg-00077m-Mw for submit@debbugs.gnu.org; Mon, 13 Jan 2025 09:40:58 -0500 Received: from mout.gmx.net ([212.227.15.18]:58859) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tXLce-00077T-Lt for 75529@debbugs.gnu.org; Mon, 13 Jan 2025 09:40:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1736779249; x=1737384049; i=michael.albinus@gmx.de; bh=HTCJUQsi8yl9IN+TmNe5yMPzUxZeYj5JCWVlcDG+Zz8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=btGRu2y43SjCItUpxJGLgZlv59aL16MYb6OXNkT2UzpTYuvxF+K3IY8Lk8MT0ixL HOYCygmzwVlfb/uElZ6+VZlP87jXhDdbXRxwxyclmzoJzNhmxPQ5Wig3JrKc4/j4y 3xw45FLDKGWUW70ozJo8+zAy8t8jKNurImcgNY/b1ZZkQCz4cS2NRxq+6Ysd0rVRx qQHZIDo38FYucFWI6QHVERRM7RFcBBy2yoA0Xy/4Y+tPjClcg2GlheoYv/jWFKwqS HGej8vd2XTOkdcAEoknS5oIZpeCJsUdj3d7kX5Fyx/9QNnOcPdwJm9hhYlRbPmsTH 86RFo0bewjQltQzKOw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MkYc0-1t8hyR2xSA-00h7VT; Mon, 13 Jan 2025 15:40:49 +0100 From: Michael Albinus To: Sebastian Subject: Re: bug#75529: Support `nixos-rebuild --use-remote-sudo` in `comint-password-prompt-regexp` In-Reply-To: (Sebastian's message of "Mon, 13 Jan 2025 15:35:07 +0100") References: <87bjwba6fv.fsf@thinkpad-t480.mail-host-address-is-not-set> <868qrex4sv.fsf@gnu.org> <87h6627q0v.fsf@gmx.de> Date: Mon, 13 Jan 2025 15:40:49 +0100 Message-ID: <87bjwa7p5a.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:0hsTI5VzAGVQ+kbocXB9H53RLa2B4oEPm/0aIjyXKKBu6YCgO3+ UGZ/5Zjjal4SV4TzoiFG2EhNe4CCjlXuzqQfhZ2pJsTRr9UUV73UmxxopqZ49FJzu14UnrJ gL+0+GdHbL3mXFtXUFxEJVOpofxA88RjYCsdf9OrTXdnDQu74NFrEVATE/fLfnacx6hOoUk 4Shsy6O2ndjK1J82KopnA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:MZzCb59f9qU=;Ny7LPqZvscbgDM+difkx52vrFTp qGwRbH3cqrLKjia45dq1O6AYQ0SZUxEGADNsytQX9WkSfx/CqLyPt1yAzpAtmh+kmNXBpm9C2 V/Q2KL9z2XUFxbhfAu2xtBmHE9UdGnxqqHrhp3x3j92CKQA0OgK739B+jOGbhxjwIYOxPg65C j7Q7cva27mkrlm+OsNbWMlP4BM3bx49gp/SpUKX4BfoHQkOhS9Vd1wq/pcbAzSB4Wfnz4o/n9 YQlVEmTcpHiUw+dVnF+9ssfIz/YvN/O655gkm/bpLo61c2EIT3qRL4OxMcKDJU8pmz6/Tt+L5 zoYet6RgkxFTakJgxKIGlPJDAy2fpA0jMikvf63Hgh0EJsp352ApKqiQ7QW7viOn+QzQCJ//6 8ctJ2eHoYPs/1J4CvA5j8DMlnaCKkPbRAz8CZ9pf35+oJCCB37vicSvB77AqaBIqSz5tccn3A askzcwnXScQ+CApUTM4nWm550Xr3hiuY3vCrB+O04iWsBeDJ9bRDqj2NWLMtYzV/EuFYPVlTR cPwsvPLlEfn4/b1wYUHJwcEwtRXYJXXIzVAsF/ZmLNZcByYg6Bahnkmb/AvOnXOe+00HyQ8dJ aUUHJX/QGJl6IsLg9st3Tu+cf7X8Sdyyggvmmt0bOrjS6dCI8b8YFZx1OAwILpgDVjcEEkXko q1MV1Ihy8TaOowevhCUJeqUXeCHmCPx+VdWeEdP6p9kh627EmDGH1x0oYqR+epHnzxkunbPAv RYcIcFTmszzGo486X/PM1r45Q+aLYdTEbIFXUN/2s2nruMLUt4OwQEECPDT3P9zV7bVy3PMSF Yk1owGlNTnX7yjrj87CCEHEF/6cu61GaMSGwbuaPXjAvE8dmefz1v8jHMkTLQNtHPL11vCDi5 7GOYJBfey63Koi5JbGgzRKoTiaYsgA4RNQfQ+TQK0D74C7FfFcUDR0h0P2fKD7QZxbey2lzF7 2TJ1ymgwycsvpcFAMTQYiT2tT1pCtZy7tIlDzlp3SNECWvPPtNijQpwclF6mp9QcV8zR8N6sl TXGqbicr+it28sepNVqBFx4t2ZEOOCxwK0GXwcER9V9nu+8WKZisBKMB7lESpKcqvnUJ3Oz6A F/t+Wb8TBVRLax5tcVtmj1Bd8UZkhX X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 75529 Cc: 75529@debbugs.gnu.org, eliz@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Sebastian writes: > Hi! Hi Sebastian, > Thanks, but you can close the bug. OK. Eli did already. > What doesn't work is for the command I mentioned to use auth-source > for escalation, but that's a different issue that I haven't researched > yet. If there are further problems, you might ask at the mailing list. And if there is really a bug, you'll report it. Best regards, Michael. From unknown Sat Jun 21 10:29:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 Feb 2025 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator