Ricardo Javier Aranibar León wrote:
Yesterday I installed harden_suse-3.5-0.noarch.rpm, in my server I have Apache, my database in Postgresql, my scripts cron and my OS is SuSE 7.3 and kernel 2.4.4-4GB but now I have two problems:
1.- I restarted my machine and my services apache and postgres didn't to initialize I have to write as a root:rcpostgres start and rcapache start this method it's slow my work,
Did you change the START_* variables in /etc/rc.config?
2.- Before, that I installed harden_suse I worded fine with PostgreSQL I connected as user postgres with: #su - postgres and execute #psql hb and I entered to my Data base, but after that I installed harden_suse I can't connect as user postgres when I writted: su - postgres in my pront didn't show me postgres:~#
Could you check the contents of /etc/passwd for a valid entry for postgres? It seems that the login shell of that user is set to something different from /bin/bash
I don't know what happend,maybe I executed postmaster and I have this message: "root execution of PostgreSQL backend is not permitted. The backend must be started under its own userid to prevent a possible system security comprise. See the Install file for more information on how properly start the postmaster".
Always use the rcpostgresql command to start the Postgres DB
I try to execute as root: #psql hb I have this message:"psql: FATAL 1 :SetUserId: user "root" is not in pg_shadow".
I don't know which pgsql version you use, but "psql database username" works with 7.0 or newer and for older versions use "psql -u database" which prompts you for an username and password before you can access the database. Peter