Execute a command as another user

su

su - {{username}} -c "{{command}}"

click the source code to copy install su on any operating system with command-not-found.com