LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-02-2005, 12:50 AM   #1
mahamkali
Member
 
Registered: Oct 2003
Posts: 67

Rep: Reputation: 15
Unix ownerships got messed(very urgent please)..


Hi ,
I use Fedora Core 2 linux. I accidentally changed ownerships all of the entire unix directories and files to my local account(not root) and then I changed again the ownership to root except that I issued local account ownership only to my /home/xxxx directories. Now my mail server is not working and I cannot do a "su -" to login as root.

Can any one help me to restructure the entire permissions back. This is very critical to me.

thanks in advance.

s
 
Old 01-02-2005, 02:50 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Boot with your installation disks into rescue mode. Then do rpm -qa --setperms which should fix the permission problems for all system files. For your user home directories or any files you've added, you'll need to manually fix those. Probably a good example of why you need to be really careful when making changes as root, especially with permissions.
 
  


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
I messed up my mysql file ownerships whatnoname Linux - Software 2 06-07-2005 08:33 AM
I have messed up system directory ownerships Mike Gibson Linux - Newbie 13 02-23-2005 12:10 PM
File ownerships/groups plisken Linux - General 3 03-04-2003 06:18 PM
ownerships Config Linux - General 5 07-02-2002 07:04 AM
ALERT!!! ALERT!!! I messed up the UNIX!!! Firew Linux - Software 1 11-05-2001 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:51 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
Open Source Consulting | Domain Registration