From aef97ab94ee0b7ca1a69bb834b45e8e9763015fb Mon Sep 17 00:00:00 2001 From: Erik Alexandre Pucci <eap08@c3sl.ufpr.br> Date: Tue, 13 Sep 2011 18:13:31 -0300 Subject: [PATCH] bootstrap-install: Replaced "(ALL:ALL)" by "(ALL)" in sudoers(1) rule Replaced because old versions of sudo(1) are not capable of handling "(ALL:ALL)". Signed-off-by: Erik Alexandre Pucci <eap08@c3sl.ufpr.br> Acked-by: Adriano da Luz <al08@c3sl.ufpr.br> --- bootstraps/bootstrap-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstraps/bootstrap-install b/bootstraps/bootstrap-install index 947573f..029c2f7 100644 --- a/bootstraps/bootstrap-install +++ b/bootstraps/bootstrap-install @@ -195,7 +195,7 @@ if ! test -n "${PROJECTOR}" -o -f "/usr/sbin/projetor" -o \ -n "${UCA_CLASSMATE}"; then # Add root permissions to seed_mec user, without the need of password if ! grep -q "seed_mec" /etc/sudoers; then - if ! $(echo -e "seed_mec\tALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers) + if ! $(echo -e "seed_mec\tALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers) then printf "ERRO: Falha ao adicionar permissões de super-usuário %b" \ "ao usuário seed_mec.\n" -- GitLab