LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-01-2011, 09:04 PM   #1
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Rep: Reputation: 8
Want to make /tmp non executable but X crashes


Using noexec in fstab, I Want to make /tmp non executable but X crashes when I do. I see in /tmp/.X11-unix/XO is a socket file. Does this file need to be executable? Is this why X crashes when I set /tmp to noexec? If so, anyway around this so I can mark /tmp noexec and still run X?
 
Old 09-02-2011, 02:47 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

The info provided by you is somewhat limited.

I can only assume that /tmp has its own partition and you do not mention the complete /tmp related line you have in your fstab file.

Maybe this article will help you iron out the problems: Secure temporary files in Linux

Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installpkg of a package built w/ src2pkg places the executable in /tmp/... Alexvader Slackware 20 11-05-2009 09:06 AM
how to make a PowerPC executable?? umeshdelhi Linux - General 6 12-17-2008 12:19 AM
files being rendered non-executable after GSB crashes. adityavpratap Slackware 3 10-04-2008 11:15 PM
how to make any file executable kratosal Linux - Newbie 8 04-08-2008 03:50 AM
make my /tmp folder bigger? Kaiser Linux - General 3 12-17-2003 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration