packweb-apache: Use $SUDO_USER when possible in phpContainer #136
Loading…
Reference in New Issue
No description provided.
Delete Branch "mtrossevin/ansible-roles:use-sudo_user"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
And rollback to $LOGNAME when it isn't.
This remove the need to add $LOGNAME to env_keep in the sudoers file.
The $SUDO_USER variable is automatically set by sudo when it is used to
the user who used it so it fullfill the same role as $LOGNAME do in
phpContainer.
$LOGNAME
is a more widely set varaible than$SUDO_USER
, that's why it is used instead of the sudo one.Pull request closed