It's because of Expect, the version of Expect (i believe) is newer than
5.18. Use version 5.18 and it will be consistent.
_
benchdelosangelesjr.
On Sun, 5 Apr 1998, L. M. Marchese wrote:
> I run RH4.2 with Apache and am trying to write a cgi program which
> changes a user's password based on
On Sun, 5 Apr 1998 17:55:21 -0400 (EDT), Cristian Gafton wrote:
>On 5 Apr 1998, Bryan C. Andregg wrote:
>
>> Why would you use perl to run useradd and passwd? It is much faster to have
>> perl edit the files by hand.
>
>Because of terrible little not-important non-essential things like proper
>lo
On 5 Apr 1998, Bryan C. Andregg wrote:
> Why would you use perl to run useradd and passwd? It is much faster to have
> perl edit the files by hand.
Because of terrible little not-important non-essential things like proper
locking, maybe ?
Cristian
--
---
I run RH4.2 with Apache and am trying to write a cgi program which
changes a user's password based on his/her input in from a web form. Is
there a ready program out there I can use?
I have tried the following EXPECT script from O'Reilly's "UNIX Power
Tools" but it doesn't work all the time. I s
On Sat, 4 Apr 1998 16:34:38 -0800 (PST), <[EMAIL PROTECTED]> wrote:
> I am tring to write a perl script that will add a user and set up their
> password. I have no problem adding the user, using a system call to the
> useradd command. I am tring to set the password like this:
>
> open(PASSWD, "
Try using Expect. I use version 5.18 because of some problems
I experience with the new versions of it (5.24 and the version included
with Redhat 5) and use Tcl 7.4 for this old version of Expect.
Look at the example file 'autopasswd' and start from there.
If you're using PAM authentication, yo