Skip to content

Instantly share code, notes, and snippets.

@ipan
Created January 25, 2018 13:26
Show Gist options
  • Save ipan/cf34bf9318810b6ca1d09dc054820e0c to your computer and use it in GitHub Desktop.
Save ipan/cf34bf9318810b6ca1d09dc054820e0c to your computer and use it in GitHub Desktop.
switch to non-login users such as www-data #su #linux
# 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