Run commands as a user and group without asking for password (needs root privileges). More information: https://manned.org/runuser.
runuser user -c 'command'
runuser user -g group -c 'command'
runuser user -l
runuser user -s /bin/sh
--login
is not specified):runuser user --preserve-environment -c 'command'