Created
March 18, 2020 09:53
-
-
Save aamsur-mkt/4d1fee8d0a6dbbed0ed3d44b6b6a3657 to your computer and use it in GitHub Desktop.
Run bash as other user
This file contains hidden or 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 -H -u syarif bash -c 'ssh-keygen' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment