help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can see root password when su using M-x Shell


From: Daniel Jensen
Subject: Re: Can see root password when su using M-x Shell
Date: Sun, 09 Mar 2003 07:21:27 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50

Peter Wu <peterwu@hotmail.com> writes:

> If I M-x shell to go to Shell mode, the password is just displayed on the
> screen when I su to root. Is there any way to make the password invisible
> when I type it?

Yes, this should do the trick:

(add-hook 'comint-output-filter-functions
          'comint-watch-for-password-prompt)

-- 
Daniel Jensen
\ (format (concat "mailto:"; "%s@%s.%s") "daniel" "bigwalter" "net")


reply via email to

[Prev in Thread] Current Thread [Next in Thread]