If the user has no shell associated with it (ie. passwd indicates a nologin at the end of
su -s /bin/bash -c "command to run" apache
If user has a login shell then there is no need for -s /bin/bash
su -s /bin/bash -c "command to run" apache
If user has a login shell then there is no need for -s /bin/bash
No comments:
Post a Comment