Bug 59810 - cfs cryto filesystem support
Summary: cfs cryto filesystem support
Status: RESOLVED DUPLICATE of bug 35396
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
: 59830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-15 14:46 UTC by David Findlay
Modified: 2008-05-19 17:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Findlay 2003-06-15 14:46:12 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Debian testing/unstable Packages

It would be useful if KDM had support for a system whereby after login, it could run a script to for instance open an encrypted home directory. It would also need to know how to close it at the end of a session too. CFS seems to be one of the main ones used at the moment.
Comment 1 Thiago Macieira 2003-06-15 14:50:09 UTC
Can't you accomplish that with the login and session scripts that are run since xdm 
days? 
Comment 2 Oswald Buddenhagen 2003-06-15 14:56:01 UTC
... or use an appropriate PAM module, FWIW. 
passing auth info down to the Startup/Reset scripts may be required for this purpose 
and is not implemented, but this is reported in another bug already. 
 

*** This bug has been marked as a duplicate of 35396 ***
Comment 3 Thiago Macieira 2003-06-15 20:08:01 UTC
*** Bug 59830 has been marked as a duplicate of this bug. ***
Comment 4 David Findlay 2003-06-16 00:25:13 UTC
Subject: Re:  cfs cryto filesystem support

On Sun, 15 Jun 2003 10:50 pm, Thiago Macieira proclaimed:
> Can't you accomplish that with the login and session scripts that are run
> since xdm days?

You need to show a passphrase window though. I'm not sure you can do that with 
login and session scripts. Thanks,

David

Comment 5 Thiago Macieira 2003-06-16 01:25:05 UTC
I'm quite sure you can. Try using kdialog (--password) to read a password if you 
ned so. 
Comment 6 Christoph Eckert 2003-06-16 08:44:19 UTC
> Try using kdialog (--password) 
 
OK, you can use this, but you cannot deliver tha password to the cli-progs like losetup. At 
least I'm not able to do so. 
Comment 7 Thiago Macieira 2003-06-16 11:37:36 UTC
I'm not about to teach you shell scripting here, but you can do that, yes. 
 
var=`kdialog --password "Enter your password"` 
echo $var 
Comment 8 Christoph Eckert 2003-06-16 20:06:09 UTC
You're right, of course. But if the destination program cannot be given a password via an 
option, I cannot use this variable: 
 
unzip -P "echo $var" 
 
works, but I've not found any possibility to do so with mount/losetup. Both do not offer the -P 
option like unzip does :( 
Comment 9 Thiago Macieira 2003-06-16 21:11:31 UTC
Bug the losetup developers then. If the program doesn't offer a way to type in the 
password, there's no thing we can do either.