[CentOS] edit or write access to /etc/nginx/nginx.conf file for non-root user.

Mon Aug 23 16:29:17 UTC 2021
Kaushal Shriyan <kaushalshriyan at gmail.com>


I am running CentOS Linux release 7.9.2009 (Core). Is there a way to
provide write/edit access to a file /etc/nginx/nginx.conf file only for
non-root users? For example- john is the local Unix user on the server who
wants to edit it.

Thanks in advance. Please guide.

Best Regards,