[sork] No more ptys while executing spawn in passwd modules set up
to useexpect script
Richard H. Clayton
rhclayto at loyno.edu
Tue Jan 20 23:46:41 PST 2004
Hi,
I'm having a really vexing problem with the Passwd module of Sork. It'd
be great if someone on here can help.
I am using the Expect driver of the Passwd module to (try to) change user
passwords. The users are in standard (OpenBSD) Unix shell accounts,
/etc/passwd. They are on a different machine from Horde/webserver.
I can't get the passwd_expect script to make password changes to the user
accounts on the other machine, even though it reports a successful change.
Expect works from the command line; I
wrote a script that works just fine in changing user passwords on the
remote box from the webserver box, from the command line. So ssh, expect
work fine.
Here's what's in apache's error_log:
The system has no more ptys. Ask your system administrator to create
more.
while executing
set pid [spawn ssh $host -l $user]
(file "scripts/passwd_expect" line )
-----
It's always at the spawn stage that problems arise. Other Expect
commands/syntax seems to give no trouble.
Any ideas?
Henry
More information about the sork
mailing list