Dangerous Linux Binaries

It's recommended to chmod the following linux binaries to 750 to prevent non-privileged users from execting those commands and gain control of your server.

chmod 750 /usr/bin/rcp

chmod 750 /usr/bin/wget

chmod 750 /usr/bin/lynx

chmod 750 /usr/bin/scp

chmod 750 /usr/bin/find

chmod 750 /bin/netstat

chmod 750 /usr/bin/lsattr

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

cPanel Installation

cPanel installatin is very easy, all you need is a new minimal installation of a supported linux...

Dangerous PHP Functions

The following PHP functions are considered dangrous and should be disabled on any web server,...

Delete shell history

Delete the .bash_history file: # rm -rf ~/.bash_history Clear the current history stored in...

softaculous installation

#cd /usr/local/cpanel/whostmgr/docroot/cgi #wget -N...

Enable php open_basedir Protection

For open_basedir protection to work properly on cPanel servers running PHP in suPHP mode you'll...