Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-10-2005, 09:33 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 12

Rep: Reputation: 0
When command lines go bad

One thing that can be a double edged sword in linux is the complete ease of doing administrative stuff via the command line. For instance, you can simply type 'chmod 444 /' as root and mess up the entire system, which happens to be what I just did. Now how exactly do I recover from this?
Old 09-10-2005, 09:41 PM   #2
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 78
Can't you just chmod it back to 775 or something?
Old 09-10-2005, 10:06 PM   #3
LQ Newbie
Registered: Aug 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Yep, and that worked.
Old 09-11-2005, 06:47 AM   #4
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
chmod 775 is all good and well but, your system is now "VERY" insecure........there are files such as
/etc/shadow and /root that are now readable by users......LOL.........just hope you don't get hacked because crackers can now use your box to send out spam and worms!!


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command erase lines paraiso Linux - Newbie 4 05-12-2005 11:48 AM
Combining 2 command lines satimis Programming 6 10-18-2004 10:40 PM
Bad Argument '53' IPtables doesn't run and has no bash debug lines? piratebiter Linux - Security 3 09-02-2003 11:18 AM
Grip command lines linuxtakemeaway Linux - Newbie 5 02-03-2003 02:11 PM
command lines? rockin chair Linux - General 5 04-28-2002 11:48 PM

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration