Trigger on user logout?

2005-11-07 Thread Uosis L
Hi, I'm trying to make an encrypted home directory which is mounted/unmounted on login/logout. Mounting it on login was the easy part ( with a custom login style ), but is there any way to unmount it on logout ( short from modifying init ) ? I want to alter the system as little as possible, so

Re: Trigger on user logout?

2005-11-07 Thread Uosis L
the feeling that I'll have to go with the logout file approach... On 11/7/05, Richard P. Koett [EMAIL PROTECTED] wrote: Uosis L wrote: Hi, I'm trying to make an encrypted home directory which is mounted/unmounted on login/logout. Mounting it on login was the easy part ( with a custom

Re: Trigger on user logout?

2005-11-07 Thread Uosis L
this is to encrypt the entire root partition ( or at least /etc ). On 11/7/05, Will H. Backman [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Uosis L Sent: Monday, November 07, 2005 3:29 PM To: Richard P. Koett Cc: misc

Re: Trigger on user logout?

2005-11-07 Thread Uosis L
That's a very good point. I guess the logout script would have to check if there are any other processes from that user before unmounting the filesystem. It would work the same way you suggested with cron, except only called on logout, so it would have an immediate effect. On 11/7/05, Ted Unangst