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.
Can't you accomplish that with the login and session scripts that are run since xdm days?
... 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 ***
*** Bug 59830 has been marked as a duplicate of this bug. ***
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
I'm quite sure you can. Try using kdialog (--password) to read a password if you ned so.
> 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.
I'm not about to teach you shell scripting here, but you can do that, yes. var=`kdialog --password "Enter your password"` echo $var
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 :(
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.