 |
Linux Format forums Help, discussion, magazine feedback and more
|
| View previous topic :: View next topic |
| Author |
Message |
jlturriff
Joined: Sun Mar 09, 2008 1:49 am Posts: 6 Location: Concordia, Missouri, USA
|
Posted: Tue Feb 26, 2013 6:52 pm Post subject: Mounting a user partition under /home at login |
|
|
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 |
|
 |
johnhudson LXF regular
Joined: Wed Aug 03, 2005 2:37 pm Posts: 767
|
Posted: Tue Feb 26, 2013 8:44 pm Post subject: |
|
|
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 |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7993 Location: Warrington, UK
|
Posted: Tue Feb 26, 2013 9:33 pm Post subject: |
|
|
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. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|