Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    26

    Default *cc* - should I chmod it to 000?

    I was thinking of chmoding all my *cc* binaries to 000 to protect against hacks, but I fear that this could break some of the cpanel functions.

    I read that this:

    1. Make a different /tmp partition.
    2. via fstab, ensure that you have nosuid,nodev for /tmp.
    3. chmod 000 /usr/bin/*cc*

    Tends to prevent most hacks.

    Does any one have any suggestions or tips from experience reagrding this?

    Thanks

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Jan 2003
    Posts
    20

    Default

    You will need to chmod 700 /usr/bin/*cc* to update cpanel (if i remember correctly), just chmod 000 /usr/bin/*cc* afterwards.

    cPanel.net Support Ticket Number:

  3. #3
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Actually, updating cpanel works fine for me with 000 permissions. It's installing perl modules or whathaveyou that needs the 700 permissions.

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Sep 2001
    Location
    Spain
    Posts
    779

    Default

    /usr/bin/*cc* isn't just compilers btw.

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. CHMOD 000 Hacked
    By gtshadow in forum Data Protection
    Replies: 7
    Last Post: 09-03-2009, 03:35 PM
  2. chmod 700 cat chgrp chmod cp cpio cut doexec...
    By EEssam in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-20-2008, 03:55 AM
  3. Big Problem - I accidently chmod 000 a lot of files!
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 01-30-2005, 06:14 PM
  4. Chmod 000 c compilers
    By iago in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 05-18-2003, 01:32 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube