Tech Tips
search
Tuesday, October 31, 2017
Run command as a different user
Command runuser allows to run a command as a different user. You must be root to be able to run that command:
sudo runuser -l vagrant -c
"GH=1 env"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment