Bug in installation script if password contains >

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

mephisto

Bug in installation script if password contains >

Postby mephisto » Mon Apr 17, 2006 6:54 pm

I've just tried to upgrade from 10.0.0 to 10.0.1 using the CLI installer. For the "Secure Communication" settings I used a password that contains a ">" - the result was that the installer stopped:

Code: Select all

Configuring Scalix Remote Execution Service...... (|)sh: -c: line 0: syntax error near unexpected token `;'
sh: -c: line 0: `{ /opt/scalix/bin/ommodu sxqueryadmin@mydomain.com -p whatever>; } 2>&1'
Fatal error occured: Msg: An error occurred configuring Web applications -- check the log for errors.
Scalix Installer - cleaning up...
Scalix Installer - stopped.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Apr 21, 2006 8:39 pm

I'll add a bug indicating this causes a failure. It should not fail, rather tell you that > is an illeagl character as > typically, as I'm sure you're aware, indicates a redirect. Try:

omodu -n "user name/mailnode" -p pass>

and you'll be sitting at
>

Thanks for the input,
Don

mephisto

Postby mephisto » Sat Apr 22, 2006 5:54 am

Thanks. I know how the error is caused, but if you enclose the password in the command into two ' then it's not a problem at all. So the character is far from illegal in passwords, it's your implementation that's faulty.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 5 guests