LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-27-2004, 07:15 PM   #16
hexadevil
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0

Doing this recursively is easy
Code:
chmod 755 -R /
Give it a shot, what the hey...
 
Old 05-28-2004, 12:05 AM   #17
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
Quote:
Originally posted by david_ross
You may want to backup your permissions in future - I posted a simple script on this site to do it in the past.
Sorry. Can you repost the script. Can't find it.
 
Old 05-29-2004, 04:12 PM   #18
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It is here:
http://www.linuxquestions.org/questi...threadid=91333
 
Old 05-29-2004, 06:59 PM   #19
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Even doing chmod -R 755 / by itself isn't going to totally solve the problem because it won't reset the setuid or setgid bit on binaries (such as passwd and crontab) that require one or both of them. DB03 could find a list of setuid/setgid binaries and manually try to reset them, which would work.

Also, some directories should not be world readable/executable (home dirs and some config dirs) so this will leave a slightly open system from a security point of view. You can run a security scanner such as Tara or COPS (though they are slightly outdated), which will give hints as to how to correct a lot of that though.
 
  


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
linux broke my battery :-( boebel Linux - Laptop and Netbook 4 04-24-2005 06:41 PM
Help, I broke linux! Ben84 Linux - Software 6 04-18-2005 07:49 AM
i2c broke my linux luxitan Slackware 2 12-31-2003 08:51 AM
broke my linux :( ozzy70 Slackware 9 08-03-2003 10:24 PM
less than 24 hrs into linux and i already broke something lejakl Linux - Software 7 07-31-2003 11:47 AM


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