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,
4 thoughts on - 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
sudoedit is the standard solution for that problem.
Thanks Mario
Thanks Ian for the email.