Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mounting a user partition under /home at login

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
jlturriff



Joined: Sun Mar 09, 2008 1:49 am
Posts: 6
Location: Concordia, Missouri, USA

PostPosted: Tue Feb 26, 2013 6:52 pm    Post subject: Mounting a user partition under /home at login Reply with quote

Hi,
On my 12.2 x86_64 machine, each user has a separate, encrypted partition that currently gets mounted at boot-up, no matter which user is going to login. I would like to have a user's partition mount at login time instead, so that the authorizations for all of the partitions do not have to be entered at boot-up.

I believe that this can be accomplished using pam-mount, but I have not been able to puzzle out the right way to do it, though I have read through the pam documentation several times.

Does anyone here know how to make this work?

Leslie
Back to top
View user's profile Send private message
johnhudson
LXF regular


Joined: Wed Aug 03, 2005 2:37 pm
Posts: 871

PostPosted: Tue Feb 26, 2013 8:44 pm    Post subject: Reply with quote

Looking at the example pam configuration files on my setup, there is no entry to limit access to part of a filesystem.

Access control tends to be to hosts, ports, etc. rather than to partitions (which is controlled by file attributes).
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8467
Location: Warrington, UK

PostPosted: Tue Feb 26, 2013 9:33 pm    Post subject: Reply with quote

You might be better off with a single, unencrypted, home filesystem and then use ecryptfs to encrypt the individual home directories. This is the method Ubuntu uses and each home directory is mounted when the user logs in and unmounted when they log out.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast