[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BillMax questions -- service hook error
When I use the Service Admin page to change a password for a user, I get
the following error, but the password gets changed.
--------
/usr/local/billmax/cgi-bin/enter_service.cgi generated following output:
service hook exited with non-zero status 25
Bad port 'blahblahsomedata'
provisioning failed. at /usr/local/billmax/local/service_hook line 523.
-----------
Of course 'blahblahsomedata' is some other data...I am assuming it is the
encrypted password.
Provisioning info from service_hook:
-------------------
$SERVICES{1}{name} = "radius1";
$SERVICES{1}{provision} = "yes";
$SERVICES{1}{data} = [ "-p", "\$ENV{NEW_d02}" ];
$SERVICES{1}{cmd}{create} = "/usr/sbin/useradd -g users -s /bin/bash
-c " . escR("$ENV{USER_fname} $ENV{USER_lname}") . " -p $ENV{NEW_d02}
$ENV{NEW_d01}";
$SERVICES{1}{cmd}{delete} = "/usr/sbin/userdel -r $ENV{NEW_d01}";
$SERVICES{1}{cmd}{disable} = "/usr/sbin/usermod -L $ENV{NEW_d01}";
$SERVICES{1}{cmd}{enable} = "/usr/sbin/usermod -U $ENV{NEW_d01}";
$SERVICES{1}{cmd}{rename} = "/usr/sbin/usermod -l $ENV{NEW_d01}
$ENV{OLD_d01}";
$SERVICES{1}{cmd}{update} = "/usr/sbin/usermod";
-------------------
I guess I don't understand. Wouldn't entering a password in the Service
Admin page and clicking Save use the $SERVICES{1}{cmd}{update} line?
If so, will '/usr/sbin/usermod -p newpassword' be sent?
Shouldn't the command that the remote server recieves be
"/usr/sbin/usermod -p newpassword login"?
Thx
Curt
-----------------------------------------------------------------------------
To unsubscribe from the "BillMax Questions" mailing list, please
send a message to "majordomo@billmax.com" with "unsubscribe questions"
in the message body. The message must be sent from the exact email
address on the list.