[scripts] Fix redis script to call requested command with sudo