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 18.104.22.168/28 – gateway IP – 22.214.171.124
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?
Continue reading “Ubuntu Linux Disable control-alt-delete [CTRL-ALT-DEL] Emergency Keypress Handling”
Can you explain /var/account/pacct or /var/log/account/pacct file under Linux / UNIX operating systems?
Can you explain me the format of /etc/group user group file under Linux / UNIX operating systems?
Q. Can you explain /etc/passwd file format for Linux and UNIX operating systems?