LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2009, 11:28 AM   #1
Latitude
Member
 
Registered: Mar 2009
Posts: 52

Rep: Reputation: 15
policy.18 [noeol] [converted] in CentOS 4.7 #1


I am trying to look at a file at the directory /etc/selinux/targeted/policy/policy.18 using VI, but the file is unreadable by a mess of characters: the "@^" repeating several times before and after every word. The bottom of the page (I am using vi editor) says: ' "policy.18" [noeol] [converted]. ' I assume this is some conversion of the text in the policy.18 file I want to read, and would like to know how to undo this conversion, and make the page clearly legible. I made a similar post at a forum in CentOS looking for help but this site has helped me a lot recently and think there's a lot of savy people roaming this forum and I could use your help. I appreciate it.

Last edited by Latitude; 06-08-2009 at 11:33 AM.
 
Old 06-08-2009, 12:34 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,504

Rep: Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992
Quote:
Originally Posted by Latitude View Post
I am trying to look at a file at the directory /etc/selinux/targeted/policy/policy.18 using VI, but the file is unreadable by a mess of characters: the "@^" repeating several times before and after every word. The bottom of the page (I am using vi editor) says: ' "policy.18" [noeol] [converted]. ' I assume this is some conversion of the text in the policy.18 file I want to read, and would like to know how to undo this conversion, and make the page clearly legible. I made a similar post at a forum in CentOS looking for help but this site has helped me a lot recently and think there's a lot of savy people roaming this forum and I could use your help. I appreciate it.
Well, if the security settings could be changed by just editing a text file, it wouldn't be too secure, would it?? It's an encrypted/binary file, which is why doing it with vi isn't possible.

A quick Google search turns up lots. These should help.

http://www.redhat.com/docs/manuals/e...pter-0001.html
http://magazine.redhat.com/2007/08/2...policy-module/
http://linux.web.cern.ch/linux/scien...tion-0068.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the password policy and lockout policy bin_shell Linux - Security 4 03-24-2010 03:30 PM
Samba System Policy, Default User Policy scooter549 Linux - General 2 02-24-2009 02:23 AM
centos: iptables -Z doesn't zero policy counters Berhanie Linux - Software 7 07-25-2008 02:35 PM
noeol help needed dong@aproposret Linux - General 9 05-25-2008 07:32 PM
significance of noeol hank43 Linux - General 1 04-14-2007 05:51 AM


All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration