{"id":166,"date":"2016-12-11T09:08:23","date_gmt":"2016-12-11T09:08:23","guid":{"rendered":"https:\/\/visworlditsolution.wordpress.com\/?p=166"},"modified":"2016-12-11T09:08:23","modified_gmt":"2016-12-11T09:08:23","slug":"how-to-configure-file-security-in-linux-redhat","status":"publish","type":"post","link":"https:\/\/linux.thingsomething.com\/index.php\/2016\/12\/11\/how-to-configure-file-security-in-linux-redhat\/","title":{"rendered":"how to configure file security in linux redhat"},"content":{"rendered":"<p>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<!--more--><\/p>\n<pre><strong>\n[root@localhost ~]# vim file1.text\n<\/strong><\/pre>\n<pre><strong>[root@localhost ~]# cat file1.text \nhello firends this is file security demo\n<\/strong><\/pre>\n<p>here we can look .we make simple text file ,<strong>file1\u00a0<\/strong>through vim and open through cat cmd<\/p>\n<p>if we want security on this file so we will \u00a0do like this<\/p>\n<pre><strong>[root@localhost ~]# vim -x file1<\/strong><\/pre>\n<pre><strong>Enter encryption key: *****<\/strong><\/pre>\n<pre><strong>Enter same key again: *****<\/strong>\n\n<\/pre>\n<p>now your file is password protected<\/p>\n<p>we can also configure file \u00a0password after file create \u00a0like this.<\/p>\n<pre><strong>[root@localhost ~]#vim demo.text<\/strong>\n\n<strong>notes-(then we puch Esc and Shift+:set key =12345)<\/strong>\n<strong>(Esc &amp; Shift+:wq)<\/strong>\n\n<\/pre>\n<p>we can also change and remove password<\/p>\n<pre>root@localhost ~]# vim demo.text<\/pre>\n<pre><strong>notes-(then we push Esc and Shift+:set key= (blank)\npassword is remove automaticaly\n\nthank you\n by vishnu sharma<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <span class=\"ml-btn\"><a href=\"https:\/\/linux.thingsomething.com\/index.php\/2016\/12\/11\/how-to-configure-file-security-in-linux-redhat\/\" class=\"more-link\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[22,8],"tags":[141],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-basic-linux","category-linux-rhel5","tag-how-to-lock-file-in-linux-file-security"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/166"}],"collection":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":0,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"wp:attachment":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}