Commit 2e2a12dc authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci

bootstrap-install: Added remotion of the crontab(1) of seed_mec user

This remotion prevents the wrong/lack of permissions in seed_mec user's
crontab(1), which prevents the agent to correctly edit its crontab(1).
Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarJosiney de Souza <josineys@c3sl.ufpr.br>
Acked-by: Klismann Smoger Mottin's avatarKlismann Smoger Mottin <ksm09@inf.ufpr.br>
parent 151a22a6
......@@ -163,6 +163,10 @@ fi
# Remove the temporary skel, as it isn't needed anymore
rmdir "${TMPSKEL}"
# Remove old crontab of seed_mec, in case there's one, avoinding a specific
# error of wrong owner/lack of permissions
crontab -u seed_mec -r
# Check if this is not an UCA Classmate, UCA Server nor ProInfo Projector, and
# if the line that gives root permission doesn't exist before adding it
if ! test -n "${PROJECTOR}" -o -f "/usr/sbin/projetor" -o \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment