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?
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 22.214.171.124/28 – gateway IP – 126.96.36.199
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?
Q. How do I delete control-alt-delete emergency keypress handling to improve security of my Ubuntu Linux server?
Q. Can you explain /etc/passwd file format for Linux and UNIX operating systems?