Monthly Archives: February 2014

How to run commands as another user

This will allow you to run a command for any user, including those that don’t have set shells. This is particularly useful for testing a command as the Apache user. The syntax is as follows: su -s $SHELL $USER -c … Continue reading

Posted in Uncategorized | Comments Off on How to run commands as another user