Yes this allows to login remotely through ssh for instance. But it doesn't offer a bigger backdoor than having a weak password on a sudo account.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных