From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Piet van Oostrum Newsgroups: gmane.emacs.help Subject: Re: hiding sudo password in emacs shell Date: Wed, 24 Nov 2004 15:01:31 +0100 Organization: Dept of Computer Science, Utrecht University, The Netherlands Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101305159 24221 80.91.229.6 (24 Nov 2004 14:05:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2004 14:05:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 24 15:05:52 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CWxmJ-0004Bs-00 for ; Wed, 24 Nov 2004 15:05:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWxvT-0000eS-8x for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Nov 2004 09:15:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!131.211.141.196.MISMATCH!humbolt.nl.linux.org!news.nl.linux.org!phil.uu.nl!cs.uu.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: modena.cs.uu.nl Original-X-Trace: june.cs.uu.nl 1101304891 27042 131.211.80.35 (24 Nov 2004 14:01:31 GMT) Original-X-Complaints-To: news@cs.uu.nl Original-NNTP-Posting-Date: Wed, 24 Nov 2004 14:01:31 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:e8QOTbPt4p3BU8ncwdvmx81/CgM= Original-Xref: shelby.stanford.edu gnu.emacs.help:126871 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22272 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22272 >>>>> Manish Godara (MG) wrote: MG> Hi, MG> How can I hide the password for sudo commands executed MG> in the shell (in emacs)? Any help is appreciated. (add-hook 'comint-output-filter-functions 'comint-watch-for-password-prompt) -- Piet van Oostrum URL: http://www.cs.uu.nl/~piet [PGP] Private email: P.van.Oostrum@hccnet.nl