0

how to use chatter command

How to use Chatter command to secure my files.. and shall i use it from normal user.....???

caden
asked Feb 8, 2017
1 Answer
0

If a file called test is created, to protect that file, run the below command,

# chattr +i test

Now this file is read-only file. Cant able to write or remove including for root user.

To view the permissions, use lsattr command.

To remove the permission which is set, just give - instead of + in that command.

# chattr -i test
View More
jagannatharumugam
answered Feb 12, 2017
Your Answer
||||
x
 
100:0