Questions tagged [noexec]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
52 votes
6 answers
53k views

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 ...
Phil Miller's user avatar
  • 1,765
6 votes
2 answers
5k views

‘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)...
igustin's user avatar
  • 365
1 vote
1 answer
2k views

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 ...
MacMac's user avatar
  • 2,141
1 vote
0 answers
141 views

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 ...
Lexicon's user avatar
  • 257
0 votes
0 answers
343 views

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 ...
Amir Alamani's user avatar