|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
it seems that some of our exim config files got punched with some incorrect permissions...
grep -i chown /root/.bash_history > chown -R root.root /bin > chown -R root.root /boot > chown -R root.root /dev > chown -R root.root /downloads > chown -R root.root /error_log > chown -R root.root /etc Any other reccomondations are more than welcome. |
|
||||
|
Those commands are an extremely bad idea, especially the chown on /etc which will break things. You need to compare the ownership of the files on a clean system and set them appropriately if you've screed them up in system paths.
__________________
Jonathan Michaelson cPanel Forum Moderator Need your cPanel servers secured and tuned? cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf http://www.configserver.com |
|
||||
|
ya bad things like changing the exim configuration files?
we've reset the chown on those files I believe to root.mail. I am having one report of one of the accounts not receiving still.... Returned email to a new test email on that account shows::: The following recipient(s) could not be reached: 'theemail@domain.us' on 8/2/06 09:21 503 valid RCPT command must precede DATA Yes my "my server requires authentication" box is checked and has been. Please advise... Last edited by ryno267; 08-02-2006 at 01:30 PM. |
|
||||
|
I found this site listing the typical dir permissions: http://www.gnoppix.org/pages/rute/node20.html
Mine currently looks like this: drwxr-xr-x 2 root root 4096 Jul 21 00:26 bin drwxr-xr-x 4 root root 2048 Aug 7 2005 boot drwxr-xr-x 23 root root 118784 Aug 1 21:32 dev drwxr-xr-x 3 root root 4096 Jun 29 16:58 downloads -rw-r--r-- 1 root root 4841 May 23 19:18 error_log drwx--x--x 83 root root 8192 Aug 2 11:43 etc I'm wondering why /etc was set to 711... and my question is - can I change /etc back to 755 without fuxoring something else up? I just want to make sure. Last edited by ryno267; 08-02-2006 at 12:55 PM. |
|
||||
|
/etc should be fine at either 711 or 755, obviously the former is more secure.
__________________
Jonathan Michaelson cPanel Forum Moderator Need your cPanel servers secured and tuned? cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf http://www.configserver.com |
![]() |
| Thread Tools | |
| Display Modes | |
|
|