Results 1 to 1 of 1

Thread: How to deny logout for a user, or block encrypted home directory unmount?

Threaded View

  1. #1
    Join Date
    Jan 2010
    Beans
    34

    Question How to deny logout for a user, or block encrypted home directory unmount?

    I have laptop with encrypted home directory. While backup to external stationary storage I want to have my "plain" files to be accessible to backup utility. At log off home directory become unmounted and turned to be a set of encrypted blobs.

    Shutdown and reboot are not a problem - I blocked them via consolekit (see 'man pklocalauthority' and http://askubuntu.com/questions/93542...te/93956#93956 ) and automated lock's up and down along with backup utility start and stop. And this do not lock down logoff process.

    Can't find a way to control logout. I'm familiar with shell scripting, I think I can automate most of logout denial ways, but I don't know any ways to do a logoff hook.

    How to intercept logout tries or events and block them?

    I'm afraid a ways to control accessibility via control of encrypted directory mount point can lead to unavailability of computer until backup's finish. I.e. logout may pause at the middle and wait for backup. Am I right?
    Last edited by Artif; January 29th, 2012 at 12:46 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •