[Twisted-Python] changing password remotely with twisted.conch

Tommi Virtanen tv at twistedmatrix.com
Tue Oct 12 14:47:14 EDT 2004

jean-marc.pouchoulon at ac-montpellier.fr wrote:
> Due to specificity of passwd command, I am not sure it's a goof idea to 
> do that but I try to change the root password on  remote machine as I 
> can do it with pexpect

It's a horrible idea. Even worse when combined with expect.

If you insist on doing that, you should look at chpasswd. Preferably
with the -e option.

More information about the Twisted-Python mailing list