Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member bigste's Avatar
    Join Date
    Jan 2009
    Location
    Cheshire, UK
    Posts
    20

    Question temporarily allow executables in /tmp

    I'm trying to run PlateSpin (a WMI data gathering product) from another server. It wants to execute some commands via FTP and SSH and collect the results afterwards but it seems to be trying to do it in the /tmp folder.
    It fails on Permission Denied every time.
    How can I set the /tmp folder to allow executables to run, for a week or so and then set it back after, with causing too much damage?

    Apparently it involves mounting without the noexec parameter, is that it?
    Last edited by bigste; 04-20-2009 at 10:09 AM.

  2. #2
    Member tuxicans's Avatar
    Join Date
    Oct 2008
    Posts
    38

    Default

    Yes,

    Please try remounting with noexec like this.

    mount -o remount,rw,exec,nosuid /tmp

    and check using the command "mount -l" to confirm that the partition has been mounted without noexec.

    To change back to noxec, the following command would be sufficiant.

    mount -o remount,rw,noexec,nosuid /tmp
    Tuxicans
    24x7 Webhosting Support
    24x7 Server Administration

  3. #3
    Member Mat-d-rat's Avatar
    Join Date
    Jul 2003
    Posts
    94

    Default

    I'm trying this out, but my tmp partition doesn't change? What am I missing?
    ## # Mat # ##
    www.matmoo.com

Similar Threads & Tags
Similar threads

  1. Security of system executables e.g. in /usr/bin/
    By jack01 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-01-2009, 08:06 AM
  2. PHP executables
    By MikaK in forum New User Questions
    Replies: 2
    Last Post: 02-04-2005, 03:04 AM
  3. Jailshell freebsd, executables
    By Wolvie in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-13-2004, 01:56 PM
  4. Downloading executables
    By linuxman in forum cPanel and WHM Discussions
    Replies: 25
    Last Post: 12-06-2003, 06:15 PM
  5. Easyapache executables path
    By amanoffewwords in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-29-2003, 08:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube