Consider the following situation:
/dev/sda1, /dev/sda2, /dev/sda3 are 3 partitions of the /dev/sda disk.
Ubuntu is installed on sda1 and /home mounted on sda2.
Only one user foo on Ubuntu system so its home folder is /home/foo on /dev/sda2.
I'm going (and I know how) to install another distro (e.g. a Lubuntu) on /dev/sda3 with only one user blah.
My question is:
How to do that in such a way that the user blah can not access neither mount the partitions /dev/sda1 and /dev/sda2?
Is it enough to remove any entry referencing it on fdisk?
I'd like to make those 2 partitions only available for the user foo on Ubuntu.
I'd like that user blah wouldn't have access even using sudo.
My idea is, while installing the new distro on sda3 just don't ask to mount the other partitions so that the disk for the new distro is only sda3.
blahhave physical access to the machine? If so, make sure they can't boot up a Linux live CD/DVD/USB. – PM 2Ring Dec 19 '14 at 07:21