RE: password on command line, or other options?



Expect will definitely help but if you're more familiar with python, it
comes with an expect-like module...

http://sourceforge.net/projects/pexpect/

Giancarlo
-----Original Message-----
From: Michael W. Lucas [mailto:mwlucas@xxxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, February 01, 2006 9:31 PM
To: Chester Enright
Cc: Michael W. Lucas; secureshell@xxxxxxxxxxxxxxxxx
Subject: Re: password on command line, or other options?

On Mon, Jan 30, 2006 at 11:12:21AM -0600, Chester Enright wrote:
Probably using an expect script would help with that. The problem
still
arises that the password would still be stored in cleartext.

Expect... wow, that's a blast from the past.

Thanks for the suggestion. I know it's not ideal, but it's better
than rsh.

==ml


--
Michael W. Lucas mwlucas@xxxxxxxxxxx,
mwlucas@xxxxxxxxxxxxxxxxxxxx
http://www.BlackHelicopters.org/~mwlucas/

"The cloak of anonymity protects me from the nuisance of caring." -Non
Sequitur



Relevant Pages

  • Re: pythonic equivalent of upvar?
    ... >My solution is a twenty-line python chunk equivalent to the perl one-liner. ... >I'm happy with this 20-line chunk and wish to re-use it in many python programs. ... overridden by command line info as you specify. ... -name value pairs in the overrides list, ...
    (comp.lang.python)
  • Re: cd.exe
    ... I just tried this, something in Python is eating CPU, see below. ... At least it does look like it is honouring the SHELL environment variable. ... This took 45 minutes of 100% CPU compared to a couple of minutes from a command line with 90-100% CPU. ... Also some other errors which I believe were rounding errors are also gone with GCC 4.4. ...
    (comp.os.os2.programmer.porting)
  • Re: IDLE history, Python IDE, and Interactive Python with Vim
    ... > can append the last executed command to a file. ... > that vim has a utility for running python commands from its command ... IPython fires up Gvim instead of the default notepad. ...
    (comp.lang.python)
  • Re: SSH utility
    ... ls command, retrieving results and exiting. ... Subject: SSH utility ... I'm looking for a python library that lets me execute shell commands ... libraries or approaches? ...
    (comp.lang.python)
  • Re: Getting a loop to activate a loop above it
    ... This is how python is supposed to work. ... "program counter" that starts at the first line. ... command in any user facing software. ... especially as BASIC was my first language (TI-994/A ...
    (comp.lang.python)