Skip to content
Snippets Groups Projects
Commit aef97ab9 authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci
Browse files

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: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarAdriano da Luz <al08@c3sl.ufpr.br>
parent 969b9d56
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment