Change password on Linux

Gerhard Häring gh at ghaering.de
Thu May 22 17:39:29 EDT 2003


Bo M. Maryniuck wrote:
> On Thursday 22 May 2003 19:20, Antonios Christofides wrote:
> 
>>I don't think you can do it with os.popen(); passwd does not read the
>>password from stdin. 
> 
> Erm... I haven't test it! ;-)
> 
> 
>>You can do it with expect or pexpect. If you prefer
>>a standard module, you can use telnetlib to telnet localhost.
> 
> Telnet? Who use this today?..

Me. telnet over SSL in particular :-)

-- Gerhard





More information about the Python-list mailing list