I need user "work2023" can write over files witth owner = root
is possible?
I add the line
Code: Select all
work2023 ALL=(ALL) NOPASSWD:ALL
Code: Select all
-bash: /root/test.txt: Permission denied
this is CentOs 7
thanks
Code: Select all
work2023 ALL=(ALL) NOPASSWD:ALL
Code: Select all
-bash: /root/test.txt: Permission denied