LinuxQuestions.org
Help answer threads with 0 replies.
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-17-2002, 09:52 AM   #1
once
LQ Newbie
 
Registered: May 2002
Posts: 28

Rep: Reputation: 15
Linux permissions restore


I did a chmod -R u-rwxX /
I was very tired and ment to use o (other) insted of u (user).
Now I have a bit of a problem.
Is it possable to somehow restore the default permissions on my REDHAT 7.3 system.

Thanks
 
Old 06-17-2002, 12:27 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Boot into a single mode from the lilo boot prompt (Ctrl-X on LILO boot screen will throw you back boot prompt issue init 1 hit enter), after you logged in issue
chmod -R 755 /
that'll fix it for you, but then you will need to adjust all the permissions for all the critical files, like /etc/shadow must be read-only by root only etc.
 
Old 06-18-2002, 03:23 AM   #3
once
LQ Newbie
 
Registered: May 2002
Posts: 28

Original Poster
Rep: Reputation: 15
OK thanks, but now all my files have an execute bit for other and user and group. Is this not a security problem.

The critical files you mentioned, do you know of a place on the web
where there is a list of these files.

Thanks
 
  


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
HELP: Restore etc files permissions gollum26 Linux - Security 5 09-15-2004 06:06 PM
restore user permissions fisheromen1031 Linux - Newbie 1 07-22-2004 01:56 PM
how to restore my files permissions ? Punker51 Linux - Software 1 12-05-2003 06:24 AM
Restore default permissions scotcro Linux - Newbie 1 01-21-2003 10:13 PM
how to restore the default permissions safrout Linux - General 4 10-21-2002 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:05 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