Merge "Permit use of sudo-ldap instead of sudo package"
This commit is contained in:
commit
5406b6f3cc
2
stack.sh
2
stack.sh
@ -247,7 +247,7 @@ disable_negated_services
|
||||
# --------------
|
||||
|
||||
# We're not as **root** so make sure ``sudo`` is available
|
||||
is_package_installed sudo || install_package sudo
|
||||
is_package_installed sudo || is_package_installed sudo-ldap || install_package sudo
|
||||
|
||||
# UEC images ``/etc/sudoers`` does not have a ``#includedir``, add one
|
||||
sudo grep -q "^#includedir.*/etc/sudoers.d" /etc/sudoers ||
|
||||
|
@ -32,7 +32,7 @@ GetDistro
|
||||
source $TOP_DIR/stackrc
|
||||
|
||||
# Give the non-root user the ability to run as **root** via ``sudo``
|
||||
is_package_installed sudo || install_package sudo
|
||||
is_package_installed sudo || is_package_installed sudo-ldap || install_package sudo
|
||||
|
||||
[[ -z "$STACK_USER" ]] && die "STACK_USER is not set. Exiting."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user