Thursday, December 22, 2011

Linux - making wwwrun a real user

I needed to give the apache server process (wwwrun in opensuse, apache in other distros) , treatment of a regular user , as it's the one who runs commands behind pgpooladmin. I need to generate it's public key in order for him to be able to run remote commands on all the nodes it has access to.

It boils down to:
If you REALLY want to do all this, change the 'wwwrun' user line in /etc/passwd so that /bin/false is set to /bin/bash, and then set the password for that user (`passwd wwwrun`) and off you go.

A word of advise here is that there are many security concerns when carrying on with such unusual proceedings, but I'm on the testing stage and security is not by the moment an issue.

No comments:

Post a Comment