Script to add passwords
Jeff Bauer
jbauer at rubic.com
Sat Dec 18 14:51:13 EST 1999
Bruno,
You may consider using Paul Sheer's python Expect
module to perform this kind of task. His example
even includes a script demonstrating how to set
a Unix password.
ftp.obsidian.co.za/pub/expect
It does use interactive mode, but from your message
I'm inferring your main concern is how to accomplish
Unix password assignment via a cgi script.
Jeff Bauer
Rubicon Research
> Does someone knows of a script that could allow
> me to add user in a Unix machine (to the /etc/passwd
> and /etc/shadow) without using interactive mode.
More information about the Python-list
mailing list