[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: autopasswd



On Wed, 2 Jul 1997, Adam Kerasotes wrote:

> Hello I have a Redhat-4.2 system using Shadow Passwords.  I have a custom
> program written to add users to the systesm.  This program calls the
> autopasswd script which came w/ redhat to set the users password.  Problem
> is that it doesn't seem to work.  I tried modifying the script slightly.  Is
> there a fix for this? I would really like it if I didn't have to write any
> new code into my adduser program.  Thanks in advance

Try editing /usr/bin/autopasswd and changing the line that reads:

   spawn passwd [lindex $argv 0]

to

   spawn /usr/bin/passwd [lindex $argv 0]

That should fix it.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Kirk Bauer -- Georgia Tech -- kirk@kaybee.org <== Finger for PGP
   http://www.kaybee.org/~kirk/html        ResNet RTA



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []