Script stopped to work on 5.x

Hi everyone, the script below was running pretty fine on 4.x but stop to work on 5.x


#Download the file
/tool fetch address=SRV-FTP src-path=“pass_word.txt” mode=ftp user=USUARIO-FTP password=SENHA-FTP port=PORTA-FTP ;
#SET the ENVIRONMENT
:global password [/file get pass_word.txt contents]
#Change the password for user TESTE
; /user set teste password=$password ;

Does anyone have a clue about why the script don’t work anymore on version 5.x ?


Tks,
Ricardo.

Check if the script or scheduler has sensitive permissions.