You can write-protect specific files, directories , and volumes to prevent unauthorized programs or users from changing them.
Run this command at the command prompt.
sadmin write-protect [ -i ] pathname1 ... pathnameNPaths can include wildcard characters. When using wildcards, make sure that the specified string matches a limited set of file paths or file names. If the specified string matches many files, we recommend you revise the string.
Paths can include the * wildcard character. Using
/abc/*/defis allowed while/abc/*.sh,/abc/*.*, or/abc/doc.*is not supported.
For example:
# sadmin write-protect –i /etc/security/limits.conf
You can also write-protect network file systems by specifying the network path with the
sadmin write-protectcommand to prevent any change to the network share.This table describes how you can specify the network path with the command.
Syntax
Example
sadmin write-protect -i /mount-pointSpecify the mount point name on the Linux platform.
For example:
sadmin write-protect –i /nfs