Linux executado como usuário
sudo -H -u otheruser bash -c 'echo "I am $USER, with uid $UID"'
feddynventor
sudo -H -u otheruser bash -c 'echo "I am $USER, with uid $UID"'