* bug#5664: 23.1.92; view-lossage [not found] <871vfxl2u1.fsf@stupidchicken.com> @ 2010-03-06 20:04 ` Andreas Roehler 2010-03-06 20:18 ` Chong Yidong 0 siblings, 1 reply; 15+ messages in thread From: Andreas Roehler @ 2010-03-06 20:04 UTC (permalink / raw) To: Chong Yidong; +Cc: 5664 Chong Yidong wrote: >> may reproduce bug mentioned here: >> >> http://lists.gnu.org/archive/html/help-gnu-emacs/2010-02/msg00602.html >> >> With emacs-shell, emacs -q >> >> 1) when prompted for pw, it's shown afterwards at the screen >> 2) it's visible by view-lossage/recent-input > > I can't reproduce this. Please provide an exact recipe; the one you > gave was far too imprecise. > Commands have been: emacs -q M-x shell /bin/su at shell prompt prompt for PW arrives, when PW putted in, its visible at the screen root-shell (bash) arrives M-x report-emacs-bug View lossage displays root-password, replaced for this report by MY-PW-SHOWN-HERE Thanks caring for the matter, Andreas ;;;;;;;;;; In GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-02-19 Windowing system distributor `The X.Org Foundation', version 11.0.70200000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x s h e l l <return> / b i n / s u <return> MY-PW-SHOWN-HERE <return> M-x r e p o r t - e m a c s - b u g <return> Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug ansi-color shell comint ring tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-06 20:04 ` bug#5664: 23.1.92; view-lossage Andreas Roehler @ 2010-03-06 20:18 ` Chong Yidong 2010-03-06 20:44 ` Andreas Roehler 2014-01-19 13:31 ` Michael Albinus 0 siblings, 2 replies; 15+ messages in thread From: Chong Yidong @ 2010-03-06 20:18 UTC (permalink / raw) To: Andreas Roehler; +Cc: 5664 Andreas Roehler <andreas.roehler@online.de> writes: > emacs -q > M-x shell > /bin/su at shell prompt > > prompt for PW arrives, when PW putted in, its visible at the screen > > root-shell (bash) arrives > > M-x report-emacs-bug > > View lossage displays root-password, replaced for this report by > MY-PW-SHOWN-HERE I'm afraid I can't reproduce this. One possibility is that you are using a locale where the password prompt is given in a language that comint-watch-for-password-prompt does not recognize. This is a known issue; customize comint-password-prompt-regexp to add the locale-dependent password prompt(s) to the list of recognized prompts. ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-06 20:18 ` Chong Yidong @ 2010-03-06 20:44 ` Andreas Roehler 2010-03-01 8:18 ` Andreas Roehler 2010-03-06 21:33 ` Stefan Monnier 2014-01-19 13:31 ` Michael Albinus 1 sibling, 2 replies; 15+ messages in thread From: Andreas Roehler @ 2010-03-06 20:44 UTC (permalink / raw) To: Chong Yidong; +Cc: 5664 Chong Yidong wrote: > Andreas Roehler <andreas.roehler@online.de> writes: > >> emacs -q >> M-x shell >> /bin/su at shell prompt >> >> prompt for PW arrives, when PW putted in, its visible at the screen >> >> root-shell (bash) arrives >> >> M-x report-emacs-bug >> >> View lossage displays root-password, replaced for this report by >> MY-PW-SHOWN-HERE > > I'm afraid I can't reproduce this. One possibility is that you are > using a locale where the password prompt is given in a language that > comint-watch-for-password-prompt does not recognize. This is a known > issue; customize comint-password-prompt-regexp to add the > locale-dependent password prompt(s) to the list of recognized prompts. > Thanks, that helps here. However, think there is a bug though. If Emacs is able to display the prompt delivered, it should adapt its behavior independently from the regexp already customized. Unless some reasons contradict. Andreas ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage @ 2010-03-01 8:18 ` Andreas Roehler 2010-03-07 13:39 ` Thierry Volpiatto 2010-03-07 15:52 ` Thierry Volpiatto 0 siblings, 2 replies; 15+ messages in thread From: Andreas Roehler @ 2010-03-01 8:18 UTC (permalink / raw) To: 5664 Hi, may reproduce bug mentioned here: http://lists.gnu.org/archive/html/help-gnu-emacs/2010-02/msg00602.html With emacs-shell, emacs -q 1) when prompted for pw, it's shown afterwards at the screen 2) it's visible by view-lossage/recent-input replaced it below for this report by MY-PASSWORD-DISPLAYED-HERE In GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-02-19 Windowing system distributor `The X.Org Foundation', version 11.0.70200000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x s h e l l <return> / b n <backspace> <backspace> b i n / s u <return> MY-PASSWORD-DISPLAYED-HERE <return> M-x r e p o r t - e m a c - <backspace> s - b u g <return> Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug ansi-color shell comint ring tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-01 8:18 ` Andreas Roehler @ 2010-03-07 13:39 ` Thierry Volpiatto 2010-03-07 15:22 ` Andreas Röhler 2011-06-30 23:00 ` Lars Magne Ingebrigtsen 2010-03-07 15:52 ` Thierry Volpiatto 1 sibling, 2 replies; 15+ messages in thread From: Thierry Volpiatto @ 2010-03-07 13:39 UTC (permalink / raw) To: bug-gnu-emacs Andreas Roehler <andreas.roehler@online.de> writes: > Chong Yidong wrote: >> Andreas Roehler <andreas.roehler@online.de> writes: >> >>> emacs -q >>> M-x shell >>> /bin/su at shell prompt >>> >>> prompt for PW arrives, when PW putted in, its visible at the screen >>> >>> root-shell (bash) arrives >>> >>> M-x report-emacs-bug >>> >>> View lossage displays root-password, replaced for this report by >>> MY-PW-SHOWN-HERE >> >> I'm afraid I can't reproduce this. One possibility is that you are >> using a locale where the password prompt is given in a language that >> comint-watch-for-password-prompt does not recognize. This is a known >> issue; customize comint-password-prompt-regexp to add the >> locale-dependent password prompt(s) to the list of recognized prompts. >> > > Thanks, that helps here. > However, think there is a bug though. If Emacs is able to display the prompt delivered, > it should adapt its behavior independently from the regexp already customized. As Chong said you must use a non--english/us locale. I have the same problem here, my prompt is not "Password" but "Mot de Passe", due to my french locale. All the prompts for password (e.g su/sudo) in the emacs shell use a cryptic regex. Setting it is a pain, i always have undesired side effects trying to set them. (shell and eshell). For shell (don't work in eshell): A workaround for "su" is creating an alias in bashrc: alias su="LC_ALL=C su -l" For sudo: alias sudo="sudo -p Password: " For eshell i didn't find good solution appart putting in my .emacs: (setenv "LC_ALL" "C") Work fine but may create other encoding problems in others places. The best thing should be that all emacs shell don't obey to locale setting for password prompt, i thing the word "password" in international well known. -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/ ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-07 13:39 ` Thierry Volpiatto @ 2010-03-07 15:22 ` Andreas Röhler 2011-06-30 23:00 ` Lars Magne Ingebrigtsen 1 sibling, 0 replies; 15+ messages in thread From: Andreas Röhler @ 2010-03-07 15:22 UTC (permalink / raw) To: Thierry Volpiatto; +Cc: Chong Yidong, 5664 Thierry Volpiatto wrote: > Andreas Roehler <andreas.roehler@online.de> writes: > >> Chong Yidong wrote: >>> Andreas Roehler <andreas.roehler@online.de> writes: >>> >>>> emacs -q >>>> M-x shell >>>> /bin/su at shell prompt >>>> >>>> prompt for PW arrives, when PW putted in, its visible at the screen >>>> >>>> root-shell (bash) arrives >>>> >>>> M-x report-emacs-bug >>>> >>>> View lossage displays root-password, replaced for this report by >>>> MY-PW-SHOWN-HERE >>> I'm afraid I can't reproduce this. One possibility is that you are >>> using a locale where the password prompt is given in a language that >>> comint-watch-for-password-prompt does not recognize. This is a known >>> issue; customize comint-password-prompt-regexp to add the >>> locale-dependent password prompt(s) to the list of recognized prompts. >>> >> Thanks, that helps here. >> However, think there is a bug though. If Emacs is able to display the prompt delivered, >> it should adapt its behavior independently from the regexp already customized. > > As Chong said you must use a non--english/us locale. > I have the same problem here, my prompt is not "Password" but "Mot de > Passe", due to my french locale. > All the prompts for password (e.g su/sudo) in the emacs shell use a > cryptic regex. > Setting it is a pain, i always have undesired side effects trying to set > them. (shell and eshell). > > For shell (don't work in eshell): > A workaround for "su" is creating an alias in bashrc: > > alias su="LC_ALL=C su -l" > > For sudo: > alias sudo="sudo -p Password: " > > For eshell i didn't find good solution appart putting in my .emacs: > > (setenv "LC_ALL" "C") > > Work fine but may create other encoding problems in others places. > > The best thing should be that all emacs shell don't obey to locale > setting for password prompt, i thing the word "password" in > international well known. > Hi, thanks, as long it's not solved at the source of the matter, I'd prefere the last. Better just one prompt than undergoing security-risks. Andreas ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-07 13:39 ` Thierry Volpiatto 2010-03-07 15:22 ` Andreas Röhler @ 2011-06-30 23:00 ` Lars Magne Ingebrigtsen 2011-07-01 4:56 ` Thierry Volpiatto 1 sibling, 1 reply; 15+ messages in thread From: Lars Magne Ingebrigtsen @ 2011-06-30 23:00 UTC (permalink / raw) To: Thierry Volpiatto; +Cc: 5664 Thierry Volpiatto <thierry.volpiatto@gmail.com> writes: > For eshell i didn't find good solution appart putting in my .emacs: > > (setenv "LC_ALL" "C") > > Work fine but may create other encoding problems in others places. > > The best thing should be that all emacs shell don't obey to locale > setting for password prompt, i thing the word "password" in > international well known. You mean setting LC_ALL to C for all subshells? I'm not sure that's what most people would want. But having the passwords show up in clear text in the shell buffers is totally icky, too. (I just fixed comint to do the password recognition for the [larsi@quimbies ~/src/emacs/trunk/lisp]$ ssh root@quimby Password: Response: case just now, though.) But for other locales: Perhaps Shell mode should have an interactive function like `M-x shell-query-password', so that people can trigger the non-echoing entry mode at will? Or perhaps a keystroke to switch off echoing, that would be ended when typing RET? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2011-06-30 23:00 ` Lars Magne Ingebrigtsen @ 2011-07-01 4:56 ` Thierry Volpiatto 0 siblings, 0 replies; 15+ messages in thread From: Thierry Volpiatto @ 2011-07-01 4:56 UTC (permalink / raw) To: Lars Magne Ingebrigtsen; +Cc: 5664 Lars Magne Ingebrigtsen <larsi@gnus.org> writes: > Thierry Volpiatto <thierry.volpiatto@gmail.com> writes: > >> For eshell i didn't find good solution appart putting in my .emacs: >> >> (setenv "LC_ALL" "C") >> >> Work fine but may create other encoding problems in others places. >> >> The best thing should be that all emacs shell don't obey to locale >> setting for password prompt, i thing the word "password" in >> international well known. > > You mean setting LC_ALL to C for all subshells? I'm not sure that's > what most people would want. This have been fixed long time ago by using an alias in eshell for su/sudo. (don't use globally LC_ALL=C) alias su LC_ALL=C *su -l alias sudo *sudo -p Password: $* > But having the passwords show up in clear > text in the shell buffers is totally icky, too. (I just fixed comint to > do the password recognition for the Be careful when modifying the prompt regexp of shell/eshell: All go well in most cases, but can create bad bugs in other places like python shell. e.g in a python-shell: A = raw_input("prompt: ") Will ask you for password! > [larsi@quimbies ~/src/emacs/trunk/lisp]$ ssh root@quimby > Password: > Response: > > case just now, though.) > > But for other locales: Perhaps Shell mode should have an interactive > function like `M-x shell-query-password', so that people can trigger the > non-echoing entry mode at will? Or perhaps a keystroke to switch off > echoing, that would be ended when typing RET? -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-01 8:18 ` Andreas Roehler 2010-03-07 13:39 ` Thierry Volpiatto @ 2010-03-07 15:52 ` Thierry Volpiatto 1 sibling, 0 replies; 15+ messages in thread From: Thierry Volpiatto @ 2010-03-07 15:52 UTC (permalink / raw) To: bug-gnu-emacs Andreas Röhler <andreas.roehler@easy-emacs.de> writes: > Thierry Volpiatto wrote: >> Andreas Roehler <andreas.roehler@online.de> writes: >> >>> Chong Yidong wrote: >>>> Andreas Roehler <andreas.roehler@online.de> writes: >>>> >>>>> emacs -q >>>>> M-x shell >>>>> /bin/su at shell prompt >>>>> >>>>> prompt for PW arrives, when PW putted in, its visible at the screen >>>>> >>>>> root-shell (bash) arrives >>>>> >>>>> M-x report-emacs-bug >>>>> >>>>> View lossage displays root-password, replaced for this report by >>>>> MY-PW-SHOWN-HERE >>>> I'm afraid I can't reproduce this. One possibility is that you are >>>> using a locale where the password prompt is given in a language that >>>> comint-watch-for-password-prompt does not recognize. This is a known >>>> issue; customize comint-password-prompt-regexp to add the >>>> locale-dependent password prompt(s) to the list of recognized prompts. >>>> >>> Thanks, that helps here. >>> However, think there is a bug though. If Emacs is able to display the prompt delivered, >>> it should adapt its behavior independently from the regexp already customized. >> >> As Chong said you must use a non--english/us locale. >> I have the same problem here, my prompt is not "Password" but "Mot de >> Passe", due to my french locale. >> All the prompts for password (e.g su/sudo) in the emacs shell use a >> cryptic regex. >> Setting it is a pain, i always have undesired side effects trying to set >> them. (shell and eshell). >> >> For shell (don't work in eshell): >> A workaround for "su" is creating an alias in bashrc: >> >> alias su="LC_ALL=C su -l" >> >> For sudo: >> alias sudo="sudo -p Password: " >> >> For eshell i didn't find good solution appart putting in my .emacs: >> >> (setenv "LC_ALL" "C") >> >> Work fine but may create other encoding problems in others places. >> >> The best thing should be that all emacs shell don't obey to locale >> setting for password prompt, i thing the word "password" in >> international well known. >> > > Hi, thanks, > > as long it's not solved at the source of the matter, I'd prefere the last. > Better just one prompt than undergoing security-risks. Agree. Also, since eshell su/sudo have changed recently i am unable to use an eshell alias for sudo (with -p option). -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/ ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-06 20:44 ` Andreas Roehler 2010-03-01 8:18 ` Andreas Roehler @ 2010-03-06 21:33 ` Stefan Monnier 2010-03-06 21:50 ` Andreas Roehler 1 sibling, 1 reply; 15+ messages in thread From: Stefan Monnier @ 2010-03-06 21:33 UTC (permalink / raw) To: Andreas Roehler; +Cc: Chong Yidong, 5664 > However, think there is a bug though. If Emacs is able to display the > prompt delivered, it should adapt its behavior independently from the > regexp already customized. Emacs has no idea that the string it receives from the underlying process is a prompt for a password. All it knows is that the subprocess sent some text to display to the user. And then no more text comes in; and then the user types something so it's sent to the subprocess; ... this is exactly the same interaction as for any other text than a password. Maybe in some cases, the subprocess sets up the tty in a particular way while it's reading the password. I don't know enough about ttys to know if that could be used and if so how, but it might be worth looking into. Stefan ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-06 21:33 ` Stefan Monnier @ 2010-03-06 21:50 ` Andreas Roehler 2010-03-07 14:40 ` Stefan Monnier 0 siblings, 1 reply; 15+ messages in thread From: Andreas Roehler @ 2010-03-06 21:50 UTC (permalink / raw) To: Stefan Monnier; +Cc: Chong Yidong, 5664 Stefan Monnier wrote: >> However, think there is a bug though. If Emacs is able to display the >> prompt delivered, it should adapt its behavior independently from the >> regexp already customized. > > Emacs has no idea that the string it receives from the underlying > process is a prompt for a password. Hhm, the shell itself seems to know. So if the shell knows, Emacs questions the shell, it should be possible collect info from there. All it knows is that the subprocess > sent some text to display to the user. And then no more text comes > in; and then the user types something so it's sent to the subprocess; > ... this is exactly the same interaction as for any other text than > a password. > > Maybe in some cases, the subprocess sets up the tty in a particular way > while it's reading the password. I don't know enough about ttys to know > if that could be used and if so how, but it might be worth looking into. > > > Stefan > Thanks, would consider it useful, to leave the bug open for remembering. As the OP reported, risks exist, which are avoidable IMO. Andreas ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-06 21:50 ` Andreas Roehler @ 2010-03-07 14:40 ` Stefan Monnier 2010-03-07 15:18 ` Andreas Röhler 0 siblings, 1 reply; 15+ messages in thread From: Stefan Monnier @ 2010-03-07 14:40 UTC (permalink / raw) To: Andreas Roehler; +Cc: Chong Yidong, 5664 >> Emacs has no idea that the string it receives from the underlying >> process is a prompt for a password. > Hhm, the shell itself seems to know. No, the shell has no idea either. Stefan ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-07 14:40 ` Stefan Monnier @ 2010-03-07 15:18 ` Andreas Röhler 2010-03-07 15:45 ` Andreas Schwab 0 siblings, 1 reply; 15+ messages in thread From: Andreas Röhler @ 2010-03-07 15:18 UTC (permalink / raw) To: Stefan Monnier; +Cc: Chong Yidong, 5664, thierry.volpiatto Stefan Monnier wrote: >>> Emacs has no idea that the string it receives from the underlying >>> process is a prompt for a password. >> Hhm, the shell itself seems to know. > > No, the shell has no idea either. > > > Stefan > > > > > So let me put it that way: If the shell grabs the pw-prompt from some place, set by `LC_ALL' or whatever, emacs may pick up it right there. Andreas ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-07 15:18 ` Andreas Röhler @ 2010-03-07 15:45 ` Andreas Schwab 0 siblings, 0 replies; 15+ messages in thread From: Andreas Schwab @ 2010-03-07 15:45 UTC (permalink / raw) To: Andreas Röhler; +Cc: Chong Yidong, 5664, thierry.volpiatto Andreas Röhler <andreas.roehler@easy-emacs.de> writes: > If the shell grabs the pw-prompt from some place, The shell does not grab anything, it just executes commands. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." ^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#5664: 23.1.92; view-lossage 2010-03-06 20:18 ` Chong Yidong 2010-03-06 20:44 ` Andreas Roehler @ 2014-01-19 13:31 ` Michael Albinus 1 sibling, 0 replies; 15+ messages in thread From: Michael Albinus @ 2014-01-19 13:31 UTC (permalink / raw) To: Chong Yidong; +Cc: Andreas Roehler, 5664-done Chong Yidong <cyd@stupidchicken.com> writes: > Andreas Roehler <andreas.roehler@online.de> writes: > >> emacs -q >> M-x shell >> /bin/su at shell prompt >> >> prompt for PW arrives, when PW putted in, its visible at the screen >> >> root-shell (bash) arrives >> >> M-x report-emacs-bug >> >> View lossage displays root-password, replaced for this report by >> MY-PW-SHOWN-HERE > > I'm afraid I can't reproduce this. One possibility is that you are > using a locale where the password prompt is given in a language that > comint-watch-for-password-prompt does not recognize. This is a known > issue; customize comint-password-prompt-regexp to add the > locale-dependent password prompt(s) to the list of recognized prompts. Due to bug#13124, Emacs knows now the password keyword for many languages. There is a new variable `password-word-equivalents'. In order to fix *this* bug, that variable is used in `eshell-password-prompt-regexp'. Closing the bug, but I'd appreciate if somebody with a localized password prompt checks it. Best regards, Michael. ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2014-01-19 13:31 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <871vfxl2u1.fsf@stupidchicken.com> 2010-03-06 20:04 ` bug#5664: 23.1.92; view-lossage Andreas Roehler 2010-03-06 20:18 ` Chong Yidong 2010-03-06 20:44 ` Andreas Roehler 2010-03-01 8:18 ` Andreas Roehler 2010-03-07 13:39 ` Thierry Volpiatto 2010-03-07 15:22 ` Andreas Röhler 2011-06-30 23:00 ` Lars Magne Ingebrigtsen 2011-07-01 4:56 ` Thierry Volpiatto 2010-03-07 15:52 ` Thierry Volpiatto 2010-03-06 21:33 ` Stefan Monnier 2010-03-06 21:50 ` Andreas Roehler 2010-03-07 14:40 ` Stefan Monnier 2010-03-07 15:18 ` Andreas Röhler 2010-03-07 15:45 ` Andreas Schwab 2014-01-19 13:31 ` Michael Albinus
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).