New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution as root #17
Comments
The # User under normal operation (hp)
echo $USER
# Run as root
sudo su
# User under sudo mode (root)
echo $USER
# The normal operation user (hp)
echo $SUDO_USER
Which distro are you running? Usually As a hack you could set
|
Thanks for your reply. I'm running ubuntu jammy in a linux container so that I prefer to execute them directly as root instead of creating another user.
|
When directly running under
root
user, it still checks for$SUDO_USER
.The text was updated successfully, but these errors were encountered: