SUDO_USER sum SUDO_UID

SUDO_USER sum SUDO_UID:

These two parameters can be written in the script when sudo xxx.sh, may correspond to a user executes sudo command (user name and UID), to ensure a consistent permissions

When using such containers docker sudo generated, these two parameters can be consistent account uid container and host account uid

Guess you like

Origin blog.51cto.com/yangzhiming/2405371