PDA

View Full Version : [ubuntu] Question about creating partitions when more than 1 user profile will be made



giga+bytes
July 28th, 2016, 12:49 AM
I want to create 1 user profile for main office use (encrypted) and 1 for everything else (going online for updates, research, etc.; still all office use but not the important work and data). Is it better to create a separate /home partition for each user profile, or for the 2 user profiles to share the same /home partition?

Specifics: solely Ubuntu 14.04 (no Windows at all), entire volume of an SSD will be used, will be setting to Legacy BIOS if possible.

papibe
July 28th, 2016, 12:58 AM
Hi giga+bytes.

I think you want to create 2 different users, right? As in 'two different Ubuntu login users'? Is that it?

Or these are Firefox profiles?

Regards.

giga+bytes
July 28th, 2016, 01:26 AM
I thought it was "user profiles", but I guess I was wrong. Oops! Yes, it is two different Ubuntu login users.

papibe
July 28th, 2016, 02:34 AM
If you need encryption, I would encrypt a whole partition using lucks.

You need another partition, but not exactly another /home. If you have a regular user, leave it as it is.

General steps to create a new user with encrypted home partition:

Make space and create a new partition.
Encrypt it.
Create a ext4 filesystem.
mount it at, say, /home/cryptouser
Create the new user, let's say, newuser.
Move newusers' dot files to /home/cryptouser
umount the encrypted partition and remount it on /home/newuser.


Does that helps? Let us know how it goes.
Regards.

giga+bytes
August 3rd, 2016, 01:31 AM
I will be assembling my new PC tomorrow (if the last components arrive), but I am figuring out everything I can before I first power it on, so am revisiting this thread and starting a new thread for more specific information to get the partitioning sorted out.

I have done some research and decided to create a separate home partition for each login user (both will be me). I assume the first 2 steps you list are all I need for the partition I want to encrypt in this case?