diff --git a/setup/index.php b/setup/index.php
index 6acaf55e0a..41e28be060 100644
--- a/setup/index.php
+++ b/setup/index.php
@@ -209,11 +209,11 @@
$setup_tpl->parse('V_db_stage_1','B_db_stage_1');
break;
case 'pgsql':
- $ip = $info['db_host'] == 'localhsot' ? '127.0.01' : '<ip-address webserver>';
+ $ip = $info['db_host'] == 'localhost' ? '127.0.0.1' : '<ip-address webserver>';
$setup_tpl->set_var('instr',
''.lang('Instructions for creating the database in %1:','PostgreSQL').''
. '
'.lang('Login as user postgres, eg. by using su as root')
- . "
[root@server /root]# su -l postgres
"
+ . "
[root@server /root]# su - postgres
"
. lang('Create the empty database and grant user permissions -')
. "
[postgres@server /var/lib/pgsql]# createuser --no-adduser --no-createdb -P " . $info['db_user'] . ""
. "
Enter password for new user: " . $info['db_pass'] . ""