Re: /tmp on same partition as /
From: Jerry McAllister (jerrymc_at_clunix.cl.msu.edu)
Date: 02/11/05
- Previous message: Ean Kingston: "Re: Virus question"
- In reply to: Chad Morland: "/tmp on same partition as /"
- Next in thread: Oliver Leitner: "Re: /tmp on same partition as /"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: cmorland@gmail.com Date: Fri, 11 Feb 2005 15:37:44 -0500 (EST)
>
> I'm setting up a mail server at the momment, one of the things that I
> forgot to do was create /tmp as a separate partiton (/ = 2gb). There
> will be no user logins to the machine aside from admins and the only
> thing that it will run is qmail acting as a smarthost (vanilla qmail,
> no amavis or anything of the sort.)
>
> In your opinion is having /tmp on the same partition as / really THAT
> bad in this case? I'm just wondering cause some people have mentioned
> that its a major security risk. Really, I don't think it is for what
> this box is doing.
I suppose it could have some security implications, but it is not so much
a security risk as a potential functional problem. It is possible for
something to begin writing an unexpectedly large amount of stuff to /tmp.
If it is a separate file system, then that process will die or at least
get stuck waiting when /tmp fills up. It could also affect any other
processes trying to use /tmp for scratch space too. But, if you catch
it reasonably soon, you can usuall just go in a nuke some unnecessary
files and it will clean up OK.
But, if it is in the root file system that means that root will get
filled up. That makes it much more likely that the system will come
to a grinding halt and be harder, probably impossible, to clean things
up without taking the system down and mucking around in single user.
////jerry
>
> -CM
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Ean Kingston: "Re: Virus question"
- In reply to: Chad Morland: "/tmp on same partition as /"
- Next in thread: Oliver Leitner: "Re: /tmp on same partition as /"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|