Linux / UNIX File Formats

Q. I’ve installed Postgresql under Red Hat Enterprise Linux 5.x server. I’ve created username / password and database. But when I try to connect it via PHP or psql using following syntax:

psql -d myDb -U username -W

It gives me an error that read as follows:

psql: FATAL: Ident authentication failed for user “username”

How do I fix this error?

{ 34 comments }

Q. I’ve two network interface connected to two different routers as follows:
[a] eth0 LAN network 10.0.0.0/8 – gateway IP – 10.8.2.65

[b] eth1 ISP assigned network 202.54.22.128/28 – gateway IP – 202.54.22.129
I can only ping to public server but not to another servers inside LAN? I’m not able to route traffic via 10.8.2.65. How do I configure static routing under Red Hat Enterprise Linux 5.x or CentOS Linux 5.2?

{ 9 comments }

Q. How do I delete control-alt-delete emergency keypress handling to improve security of my Ubuntu Linux server?

{ 4 comments }

Can you explain /var/account/pacct or /var/log/account/pacct file under Linux / UNIX operating systems?

{ 0 comments }

Can you explain me the format of /etc/group user group file under Linux / UNIX operating systems?

{ 23 comments }

Q. Can you explain /etc/passwd file format for Linux and UNIX operating systems?

{ 87 comments }