Results 1 to 7 of 7

Thread: Newbie: timeout in crypttab being ignored

  1. #1
    Join Date
    Aug 2007
    Location
    FL
    Beans
    139
    Distro
    Ubuntu 12.04 Precise Pangolin

    Newbie: timeout in crypttab being ignored

    Quick and easy question: I have in my /etc/crypttab something like this:

    Code:
    funkydevice     /dev/sda5 none            luks,timeout=30
    I tell the machine to reboot and it asks as it should for the password. Waiting to see if it will timeout for 30 seconds, I do not type the password. And wait and wait and wait. And nothing happens. Am I missing something here?

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Newbie: timeout in crypttab being ignored

    What is it that you expect to happen after the 30 second time-out?

  3. #3
    Join Date
    Aug 2007
    Location
    FL
    Beans
    139
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Newbie: timeout in crypttab being ignored

    I was hoping something on the lines of
    The timeout option specifies the time in seconds to wait for the password before timing out
    What would it do after that timeout expires? Does it tell no password/passphrase was entered and then prompts for a new one or just waits for user intervention?
    Last edited by supremedalek; July 15th, 2010 at 09:07 PM.

  4. #4
    Join Date
    Jul 2009
    Beans
    380

    Re: Newbie: timeout in crypttab being ignored

    Quote Originally Posted by cariboo907 View Post
    What is it that you expect to happen after the 30 second time-out?
    Maybe this is what he is referring to ..

    You will be prompted for the password at boot. In this example we have set a maximum of 3 attempts per reboot, and an automatic timeout on password entry after 60 seconds. That's important if you access your system over a network and don't have physical access.
    http://besy.co.uk/debian/how_to_setu..._with_dm-crypt

  5. #5
    Join Date
    Aug 2007
    Location
    FL
    Beans
    139
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Newbie: timeout in crypttab being ignored

    viralmeme, that is exactly what I had in mind. I know how to do that is quite obvious for most here, but it baffles me. I have tries=5 and timeout=20 and I can walk away from the machine and come back in an hour and it would still be patiently waiting for the passphrase. This is a fresh install of 10.04 LTS if that matters.

    One thing I noticed is that timeout is not mentioned in the man page for crypttab in my 10.04 LTS install, but it is mentioned in http://manpages.ubuntu.com/manpages/...rypttab.5.html. Could it have been deprecated/removed?
    Last edited by supremedalek; July 15th, 2010 at 10:07 PM.

  6. #6
    Join Date
    Apr 2005
    Beans
    8

    Re: Newbie: timeout in crypttab being ignored

    I am having the same problem. "timeout" option doesn't seem to work.

    Debian 6.0

  7. #7
    Join Date
    Feb 2007
    Beans
    23,337
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Newbie: timeout in crypttab being ignored


    From the Ubuntu Forums Code of Conduct.
    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    Thread closed.

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
  •