Created
January 25, 2018 13:26
-
-
Save ipan/cf34bf9318810b6ca1d09dc054820e0c to your computer and use it in GitHub Desktop.
switch to non-login users such as www-data #su #linux
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
# www-data is non-login user | |
sudo su -l www-data -s '/bin/bash' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment