LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 08-02-2008, 03:36 PM   #1
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
How to recover CentOS


Hello,

How to recover whole linux, My CentOS starts but when I use some command by root it says permission deny, some command can/t run I dont know y and how it is done.
 
Old 08-02-2008, 07:16 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
#su
<passwd>
#(if you use commands in /sbin etc...then the whole path must be given. This related to SELinux )

eg

#/sbin/pppoe

Only root shells can override this behaviour
 
Old 08-02-2008, 08:38 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by rahilmaknojia View Post
Hello,

How to recover whole linux, My CentOS starts but when I use some command by root it says permission deny, some command can/t run I dont know y and how it is done.
Can you give us some details of what you mean
 
Old 08-03-2008, 01:31 AM   #4
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Original Poster
Rep: Reputation: 32
Actually I am not able to use CentOS thts y I am sending u mail from Windows xp, I used squid configuration then I was doing some R&N then I was getting 1000 and more error it was going on in SElinux troubleshoot panel then my system got slow, So I restarted my PC, when I restarted my PC, on boot process I was getting lot of error of permission failed but after successfully booted I login as root, only few command like vsftpd, telnet and named services only but my LAN was not able to boot up then I try to restart service of eth0 it says permission deny, squid was not able to boot same problem with few services, I dont know how to recover again all services I restorecon -R / to whole but not abe to access some services.
 
  


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
printer setup from Centos 5 to Vista home prem. on a headless centos pc ncsuapex Red Hat 6 03-10-2008 12:40 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM
LXer: CentOS announces CentOS 5 i386 Live CD LXer Syndicated Linux News 0 07-11-2007 08:01 AM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 03:36 AM
filesystem: recover or not to recover? bdp Linux - General 3 06-06-2003 04:40 AM


All times are GMT -5. The time now is 10:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration