[ALUG] CGI Script

Hamisi Jabe administrator at banana.co.tz
Mon Mar 11 08:13:35 EAT 2013


The users have real accounts on the system

the plugin am using is 2.7 which is not working



> Am 05.03.2013 16:12, schrieb Hamisi Jabe:
>> Thanks for the Updates,
>>
>> I tried to run the scripts on a command line  and they gave some errors
>> like below
>>
>> passwd.cgi: passwd.cgi: cannot execute binary file
>
> Binary? From core 8 aka Werewolf? Was IMHO 2007. Then for shure libs and
> anything else is not longer compatible.
> You can check with ldd passwd.cgi which libs it requires.
>
>> and another file gave the below error
>>
>> line 35: syntax error near unexpected token
>> `$clientaddr,$clientname,$clientuser,$clientgroup,$targetgroup,$url'
>
> Perl like several other script languages changed some syntax to force
> users to update their scripts and remove obsolete marked structures.
> For Example PHP does not longer support the shortcut <? instead of <?PHP
> because it often causes trouble with XML. (Anyway most distributions
> still have the shortcut still enabled)
> The unfair thing with such errors: The syntax error must not be in line
> 35. It can be anywhere. A forgotten {@,; a wrong linebreak or what
> ever.... A editor with syntax highlighting and routine folding is
> helpfull.
>
>> i took the files from fedora core 8 which was running mail server and my
>> staffs were able to change their password on a webbased style, now am
>> trying to run the script on centos 6.2 but they are giving the errors
>
>> I am using squirrelmail
>> No plugin for changing password course i donwloaded that of squirrelmail
>> installed, when you change password it says password changed but not
>> really
>> For IMAP server am using dovecot
>> linux account users who can log in on the system from the webmail and
>> read
>> their mails
>
> The users have real accounts or are they virtual users? Which of the 7
> plugins for changing password are you using?
>
> Andreas
>
> _______________________________________________
> The Arusha Linux User Group: http://unix.or.tz
> Linux mailing list
> Linux at lists.habari.co.tz
> http://lists.habari.co.tz/cgi-bin/mailman/listinfo/linux
>
> The Arusha LUG mailing list is generously hosted by Habari Node Ltd:
> http://www.habari.co.tz/
>
> The above comments and data are owned by whoever posted them (including
> attachments if any). The mailing list host is not responsible for them in
> any way.
>






Systems Administrator
Banana Investments ltd
+255 (0) 784 380442
Website: www.banana.co.tz



More information about the Linux mailing list