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

Tue Aug 24 01:17:32 UTC 2021
Ian Mortimer <i.mortimer at uq.edu.au>

On Mon, 2021-08-23 at 21:59 +0530, Kaushal Shriyan wrote:

> 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? 

sudoedit is the standard solution for that problem.