Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-14-2005, 12:23 AM   #1
Registered: Jun 2004
Location: France
Distribution: debian sarge
Posts: 109

Rep: Reputation: 15
chmod -R 0600 /etc

is it a good idea (to prevent other shell access from seeing the files and their contents) or a bad idea (something will happen then) to :
chmod -R 0600 /etc
reason i have installed VHCS ( ) and there's some clear passwords in the text files(scripts)
Old 03-14-2005, 12:39 AM   #2
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You do not want to do that. /etc contains many scripts that need to be executable and some configs should probably be group-r/w at least. Other details, I'm sure. Just chmod individual files if you need to, or specific subdirectories, but be sure you know the consequences.
Old 03-14-2005, 12:41 AM   #3
Registered: Jun 2004
Location: France
Distribution: debian sarge
Posts: 109

Original Poster
Rep: Reputation: 15
ok thank you!!


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
What can we do if we type chmod ugo-x /bin/chmod ?????? bunny123 Linux - Software 3 02-01-2005 09:53 PM
Other than chmod 2*** subaruwrx Linux - Newbie 1 11-01-2004 02:02 PM
What is the use of chmod g+s? subaruwrx Linux - Newbie 3 10-21-2004 10:44 PM
How do I use chmod? Adan Linux - Newbie 5 09-23-2004 05:57 PM
CHMOD in shell : chmod 777 /usr/ <---is that right? cpanelskindepot Programming 5 07-16-2004 06:37 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:33 AM.

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