[Decaf-devel] Re: [pam_mount] Why does it want my password?

Jan Engelhardt jengelh at linux01.gwdg.de
Tue Dec 19 16:49:23 CET 2006


>> >that would leave the home directory unprotected. (It is protected by a
>> >tmpfs overlay using unionfs)
>> 
>> Unprotected? What, where? If it is not mounted at all for whatever
>> reason, how can it be unprotected - ok where did I miss something?
>
>No, I just did not really explain what I’m doing: For an internet cafe
>machine I am mounting a tmpfs on /somewhere, and then I am creating a
>unionfs based on /home/user(ro) and /somewhere(rw), and that is mounted
>on /home/user again. This way the user has a fully functional home
>directory, but upon log out, all his changes are removed. But if
>pam-mount would fail, then he might be using the original home directory
>directly, which is not desired. See
>http://wiki.debian.org/DeCaf/PAMSetup

In that case, /home/user would remain read-only, hence, no problem
(except maybe in starting apps)

>If it is too hard to make pam_mount detect that it does not need a
>password, then I’ll just pass a dummy password to pam in my pam module,
>that’s a hack as well, but a small one.

Well I can add an option (one like 'use_first_pass') so that you
could force pam_mount on a global basis not to ever request a
password.


	-`J'
-- 


More information about the Decaf-devel mailing list