Archive for May, 2010

Ok so I have a postgres database at work that we use to store application information and this database is shared across some large web applications. We recently started getting the above error in the postgres logs, and occasional failures in the web apps. Let me state for the record I am not a postgres [...]

Here is how you run a command as apache in centos without giving apache a valid shell.
su -s /bin/sh apache -c “whoami”