X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FInstall%2FFinish.html;h=8f9ef47e9a6220710926e3d83dde5ad1a6be06fa;hb=c29cfb306d842c30d366d920cc74cfa73ae2f9df;hp=3ebd407ea00fe01107be32b7b1fe5bd50f69c71f;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/share/html/Install/Finish.html b/rt/share/html/Install/Finish.html index 3ebd407ea..8f9ef47e9 100644 --- a/rt/share/html/Install/Finish.html +++ b/rt/share/html/Install/Finish.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -53,11 +53,11 @@

-<&|/l&>You should be taken directly to a login page. You'll be able to log in with username of root and the password you set earlier. +<&|/l_unsafe, 'root' &>You should be taken directly to a login page. You'll be able to log in with username of [_1] and the password you set earlier.

-<&|/l&>If you've change the Port that RT runs on, you'll need to restart the server in order to log in. +<&|/l&>If you've changed the Port that RT runs on, you'll need to restart the server in order to log in.

@@ -79,12 +79,15 @@ if ( $Run ) { RT->InitClasses(); RT->InitPlugins(); - system( 'chmod -w ' . RT::Installer->ConfigFile ) && + my $ret = chmod 0440, RT::Installer->ConfigFile; + if ( !$ret ) { $RT::Logger->error( 'failed to make ' . RT::Installer->ConfigFile . ' readonly' ); - my $root = RT::User->new( $RT::SystemUser ); + } + my $root = RT::User->new( RT->SystemUser ); $root->Load('root'); - $root->SetPassword( $RT::Installer->{InstallConfig}{Password} ); + my ($ok, $val) = $root->SetPassword( $RT::Installer->{InstallConfig}{Password} ); + $RT::Logger->warning("Unable to set root password: $val") if !$ok; RT::Interface::Web::Redirect(RT->Config->Get('WebURL')); }