brent saner on 19 Dec 2007 11:47:05 -0800 |
Dan Widyono wrote: > Make sure you protect access to swap with appropriate permissions if you use > a file. > > Dan W. dan brings up an important point. no matter what you use, file or partition, remember that if someone really wants to crack their way into it, swap can be (semi-)readable. so permissions should definitely always be kept in mind if it's a file, and lockdown to mount and other assorted system utilities should always be an important part of your system if it's a partition (well, they should be locked down regardless). as for me personally, if it's on an older box, i use swap as a partition (and as the first partition on the disk, because that has the fastest spin-up time), usually twice the size of physical RAM. if it's on a more recent box that i know has enough physical RAM to play nicely, i'll add a swap partition ("just in case") about half the size of physical RAM and i'm not as concerned about placement of the partition on the disk, since at that point swap is just a contingency. -- Brent Saner 215.264.0112(cell) 215.362.7696(residence) http://www.thenotebookarmy.org Bill Gates is to hacking as Sid Vicious was to the Sex Pistols: no talent, everyone hates him, and he's just in it for the fame and money. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|