how to configure file security in linux redhat
hello guys today we will discuss about file security in Linux redhat .we can configure file password very easy. this process in we can provide file password before file create and after file create .so let we start how to possible this before we will make one simple text file through VIM commands
[root@localhost ~]# vim file1.text
[root@localhost ~]# cat file1.text hello firends this is file security demo
here we can look .we make simple text file ,file1 through vim and open through cat cmd
if we want security on this file so we will do like this
[root@localhost ~]# vim -x file1
Enter encryption key: *****
Enter same key again: *****
now your file is password protected
we can also configure file password after file create like this.
[root@localhost ~]#vim demo.text notes-(then we puch Esc and Shift+:set key =12345) (Esc & Shift+:wq)
we can also change and remove password
root@localhost ~]# vim demo.text
notes-(then we push Esc and Shift+:set key= (blank) password is remove automaticaly thank you by vishnu sharma

Heya i’m for the first time here. I came across this
board and I find It truly useful & it helped me out a lot.
I hope to give something back and aid others
like you aided me.