Ошибка аутентификации при перезапуске Nginx без Sudo - PullRequest
0 голосов
/ 26 июня 2018
I have followed few blogs on implementing the restart service for nginx without sudo using my User ID. I completed all the steps as mentioned in blogs. But while am re-starting the Nginx Services without sudo am facing the below error.

**Command Used :** 
/usr/bin/systemctl restart nginx
**Log:**
Failed to restart nginx.service: Interactive authentication required.
See system logs and 'systemctl status nginx.service' for details.

**Reference:**
/9917154/perezapustite-ostanovite-nginx-ispolzuya-moi-userid-bez-razreshenii-sudo#9917156
https://askubuntu.com/questions/692701/allowing-user-to-run-systemctl-systemd-services-without-password
https://serverfault.com/questions/69847/linux-how-to-give-a-user-permission-to-restart-apache

Пожалуйста, помогите устранить ошибку и перезапустите nginx без sudo

...