Questions tagged [noexec]

6 questions
53
votes
6 answers

How useful is mounting /tmp noexec?

Many people (including the Securing Debian Manual) recommend mounting /tmp with the noexec,nodev,nosuid set of options. This is generally presented as one element of a 'defense-in-depth' strategy, by preventing the escalation of an attack that lets…
Phil Miller
  • 1,785
6
votes
2 answers

‘noexec’ option on NTFS under Windows?

Is there equivalent filesystem option on Windows like 'noexec' mount option on Linux? Is it the same if I set "Read" permission, but unset "Read & Execute" permisson on root directory (whole drive)? For the local users, but also for the LAn users…
igustin
  • 365
1
vote
1 answer

Compiling passenger-install-nginx-module; "C compiler gcc is not found"

I am in the middle of a process of installing Redmine served with passenger and nginx with this tutorial. With the passenger-install-nginx-module, it works fine and during compiling it outputs an error with this, Compiling and installing Nginx... #…
MacMac
  • 2,241
1
vote
2 answers

When installing JIRA Data Center on Linux the installer fails saying it cannot run its internal Java from /tmp

In our network, all VMs and server have /tmp mounted as noexec for security purposes. Trying to install Jira ends in a failure trying to run Java from that folder. How do I overcome this problem?
1
vote
0 answers

Noexec vs chmod -R -x for malware interogation?

I am setting up a Linux box to examine malware samples. I wanted to create a directory where I could safely unzip each sample and run very basic triage commands against the file to collect information about the sample (for example, hashing the…
Lexicon
  • 277
0
votes
0 answers

Alternative location to store tmp files on linux

So I have a python script that I compile with pyinstaller to a single file. at the time of running, by default, the script will unbundle the modules in /tmp/ also you can change the default TMPDIR at the time of compilation. PROBLEM: As you might…