A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-February/077257.html below:

[Python-Dev] [OT] Re: getpass and stdin

[Python-Dev] [OT] Re: getpass and stdinMike Meyer mwm at mired.org
Tue Feb 26 22:01:06 CET 2008
On Tue, 26 Feb 2008 15:32:03 -0500 "Leif Walsh" <adlaiff6 at gmail.com> wrote:
> On Tue, Feb 26, 2008 at 2:14 PM, Shaya Potter <spotter at cs.columbia.edu> wrote:
> > 1) I am willing to type in the password, which is obvious to anyone who
> > can read a simple script.  That just doesn't work for a program you want
> > to run in the background to type it in every time.
> 
> I recommend you just hack on this getmail program and give it a daemon
> mode.  That shouldn't be too large of a task, and it will certainly be
> more secure (and you can even commit your changes as a new feature!).
> Otherwise, your best bet is probably, as Charles said, making the
> passfile work for you (maybe play with nfs and see if you can get it
> to hide things...I'm no wizard with it, but I'm willing to bet it's
> possible).

Actually, the easiest thing is probably to use a "file" that's not
really a file, like /dev/stdin or <(cat -),

      <mike

-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4