Re: Mounting volumes through the command line



Hi,

Try pam-mount ( libpam-mount )

There is a german description here:
http://wiki.ubuntuusers.de/Daten_verschl%C3%BCsseln#luks
In short: In
/etc/security/pam_mount.conf.xml
add a line
<volume user="<YourUserName>" fstype="crypt"
path="/dev/disk/by-uuid/<UUID-of-Device-or-partition>"
mountpoint="<Where/To/Mount>" options="fsck,relatime" />

And in
/etc/pam.d/common-session
add
@include common-pammount

These could be outdated information, and you could lock yourself out
your system, so read carefully the appropriate documentation for your
distribution or versions of pam and pam-mount.

Regards,

c


On 03.04.2012 23:34, László Monda wrote:
> The D-Bus folks couldn't answer my question so far.
> 
> Anybody from there?
> 
> Thanks in advance.
> 
> On Fri, Mar 30, 2012 at 11:34 AM, László Monda <laci monda hu> wrote:
>> Hi List,
>>
>> There's a second HDD in my laptop which is fully encrypted.  I saved
>> its password and I can easily mount it by simply clicking on its label
>> in Nautilus.  I'd like to automatically get this HDD mounted upon
>> logging into Gnome.
>>
>> I'm sure that it's possible somehow, either through D-Bus or by
>> calling Nautilus with some arguments.  D-Bus may be more beneficial
>> because it wouldn't involve any windows popping up.
>>
>> Please help or direct me to somewhere where somebody can answer my question.
>>
>> Thanks in advance.
>>
>> --
>> László Monda <http://monda.hu>
> 
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]