I have installed Unix Agent on RHEL 6 server.
In selang, I placed the below script which provides file access to a specific user.
The file was created using 'root' user.
While accessing the file using 'praveen' user, am able to only read the file but not write.
Can anyone help on this.
nr FILE ('/etc/Test.txt') audit(SUCCESS FAILURE) comment('securing critical files') defaccess(READ) owner('root')
authorize FILE ('/etc/Test.txt') access(READ WRITE DELETE RENAME CREATE EXECUTE CHOWN CHMOD UTIME SEC CHDIR) uid('praveen')