Mount only specific partition without sudo password?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I want to create a custom live usb stick with two partitions: one for the OS and one data partition.



Now the users should only be able to mount said data partition (which should be mounted automatically), but neither any internal drives nor another usb or network drive.



I thought it would be easier to find a solution, but I couldn't find someone with a similar problem. Can somemone help me out?



Kind regards!







share|improve this question




















  • Make an entry in fstab by UUID and use the user or users option
    – Panther
    May 26 at 13:32










  • I think the problem is that I won't know the UUID before I apply the image to all usb drives
    – Max M.
    May 26 at 13:55










  • Mount by lable then and set a label when you make the partition
    – Panther
    May 26 at 13:58














up vote
0
down vote

favorite












I want to create a custom live usb stick with two partitions: one for the OS and one data partition.



Now the users should only be able to mount said data partition (which should be mounted automatically), but neither any internal drives nor another usb or network drive.



I thought it would be easier to find a solution, but I couldn't find someone with a similar problem. Can somemone help me out?



Kind regards!







share|improve this question




















  • Make an entry in fstab by UUID and use the user or users option
    – Panther
    May 26 at 13:32










  • I think the problem is that I won't know the UUID before I apply the image to all usb drives
    – Max M.
    May 26 at 13:55










  • Mount by lable then and set a label when you make the partition
    – Panther
    May 26 at 13:58












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I want to create a custom live usb stick with two partitions: one for the OS and one data partition.



Now the users should only be able to mount said data partition (which should be mounted automatically), but neither any internal drives nor another usb or network drive.



I thought it would be easier to find a solution, but I couldn't find someone with a similar problem. Can somemone help me out?



Kind regards!







share|improve this question












I want to create a custom live usb stick with two partitions: one for the OS and one data partition.



Now the users should only be able to mount said data partition (which should be mounted automatically), but neither any internal drives nor another usb or network drive.



I thought it would be easier to find a solution, but I couldn't find someone with a similar problem. Can somemone help me out?



Kind regards!









share|improve this question











share|improve this question




share|improve this question










asked May 26 at 13:18









Max M.

1




1











  • Make an entry in fstab by UUID and use the user or users option
    – Panther
    May 26 at 13:32










  • I think the problem is that I won't know the UUID before I apply the image to all usb drives
    – Max M.
    May 26 at 13:55










  • Mount by lable then and set a label when you make the partition
    – Panther
    May 26 at 13:58
















  • Make an entry in fstab by UUID and use the user or users option
    – Panther
    May 26 at 13:32










  • I think the problem is that I won't know the UUID before I apply the image to all usb drives
    – Max M.
    May 26 at 13:55










  • Mount by lable then and set a label when you make the partition
    – Panther
    May 26 at 13:58















Make an entry in fstab by UUID and use the user or users option
– Panther
May 26 at 13:32




Make an entry in fstab by UUID and use the user or users option
– Panther
May 26 at 13:32












I think the problem is that I won't know the UUID before I apply the image to all usb drives
– Max M.
May 26 at 13:55




I think the problem is that I won't know the UUID before I apply the image to all usb drives
– Max M.
May 26 at 13:55












Mount by lable then and set a label when you make the partition
– Panther
May 26 at 13:58




Mount by lable then and set a label when you make the partition
– Panther
May 26 at 13:58















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040592%2fmount-only-specific-partition-without-sudo-password%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040592%2fmount-only-specific-partition-without-sudo-password%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491