Created
June 15, 2018 16:48
-
-
Save icasimpan/1fc6d09429edab5c0783de30603b83f0 to your computer and use it in GitHub Desktop.
Running a command as another user without shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su apache -s /bin/bash -c 'touch testing' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment