Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I run a dual-boot system with two physical harddrives, WinXP and Slackware 12.
Ive begun a reinstallation of Slack in order to encrypt the partitions (/home and /swap as minimum) to improve security of the files.
The current layout is
/sda1 NTFS
/sda2 /boot
/sda3 /swap
/sda4 /opt
/sdb1 /
/sdb2 /swap
/sdb3 /usr
/sdb4 /home
cryptsetup has until now been used on /swap and /home, but I consider encryption of all Linux partitions (/boot excluded ...) in order to secure the whole linux box. (i dont care about the XP - its only for games)
Now: If the /sda fails, or I othervise have to reinstall Slack, how do I reconstruct the access to the encrypted /home partition, through the cryptsetup procedure or ... ?
Tell me, how would you reconstruct data from a failed hard disk drive, even if the data weren't encrypted.
I suggest you always keep a backup of encrypted file system.
You might also want to look at the fuse-based encrypted filesystem. I don't see the point in encrypting the OS-specific parts of your system since those files are available to anyone who wants to download them from the Internet.
If you're thinking that you can avoid "crackers" by encrypting your drive, consider that most attacks are mounted against running systems, and, if your system is running, you OS files are "unencrypted" for anyone who breaks into your system at that time.
There is a "Security" forum here on LQ where you can find many people willing to help you secure your system.
The reason for encrypting the whole system, was to ensure that logs, cache-files and other files like that would be safe from intrusion.
I did fiddle around, and made specific /var and /tmp partitions which will be the ones encrypted along with /home and /swap. The rest will be left open.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.