Kaushal Shriyan
2021-Aug-23 16:29 UTC
[CentOS] edit or write access to /etc/nginx/nginx.conf file for non-root user.
Hi, 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,
mario juliano grande-balletta
2021-Aug-23 16:39 UTC
[CentOS] edit or write access to /etc/nginx/nginx.conf file for non-root user.
ACL setfacl commands with user name and file name several options On Mon, 2021-08-23 at 21:59 +0530, Kaushal Shriyan wrote:> Hi, > > 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, > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
Ian Mortimer
2021-Aug-24 01:17 UTC
[CentOS] edit or write access to /etc/nginx/nginx.conf file for non-root user.
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. -- Ian