X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FInstall%2FFinish.html;h=b82ae78f17e04e941df8152a5114ed6af5cadb7c;hb=de9d037528895f7151a9aead6724ce2df95f9586;hp=3ebd407ea00fe01107be32b7b1fe5bd50f69c71f;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Install/Finish.html b/rt/share/html/Install/Finish.html index 3ebd407ea..b82ae78f1 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-2017 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')); }