LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-14-2006, 05:05 AM   #1
kobbee
LQ Newbie
 
Registered: Sep 2006
Posts: 10

Rep: Reputation: 0
how do i make restorecon work on fc5


i'm using the fc5 distribution and when i type the command restorecon
i get the error: "command not found" although i'm having the root priv. h0w do i fix this

thank you
 
Old 09-14-2006, 05:10 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
What is this "restorecon" I don't have this at all.
And what should this tool do? is it like a program which is primarily used to set the security context (extended attributes) on one or more files.
Do you got this on your Install at all FC5?
Can you find it with "locate" after you did an updatedb ?
 
Old 09-14-2006, 05:23 AM   #3
kobbee
LQ Newbie
 
Registered: Sep 2006
Posts: 10

Original Poster
Rep: Reputation: 0
it's smthg that has got to do with writing policies.
but it's needed in the installation of an rpm.

Thanks i'v just managed to find it with locate: but then when i type
restorecon: its says command not found. it only works when i type:
/sbin/restorecon. how do i solve this?
 
Old 09-14-2006, 05:32 AM   #4
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
you've to be root. or you change to root as normal user with
Code:
su -
But if your logged in as root already you should check your path variables.
 
Old 09-14-2006, 07:28 AM   #5
kobbee
LQ Newbie
 
Registered: Sep 2006
Posts: 10

Original Poster
Rep: Reputation: 0
thanks it worked. i just copied /sbin/restorecon to /bin/
 
Old 09-14-2006, 07:31 AM   #6
kobbee
LQ Newbie
 
Registered: Sep 2006
Posts: 10

Original Poster
Rep: Reputation: 0
i just installed libpri, zaptel and asterisk successfully
but when i run rpm -q libpri
it says package not found, how do i resolve this?
 
Old 09-14-2006, 12:20 PM   #7
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
Do you want to search for this package or do you want to install it?
If you want to search it try
Code:
rpm -qa | grep libpri
and if you install rpm -ivh or rpm -Uvh
 
  


Reply



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
fc5 will not make a driver beowolfganz Fedora 13 05-10-2006 02:40 AM
Trying to make mod_ssl work - virtualhosts make trouble Belize Linux - Software 0 02-26-2005 08:30 PM
How do I make a change to a current kernel? Would 'make oldconfig' work... jtp51 Slackware 11 11-01-2004 11:02 PM
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 10:58 AM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:43 AM.

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
Open Source Consulting | Domain Registration