Change the default option to “Forget password immediately” when mounting a Luks usb drive The 2019 Stack Overflow Developer Survey Results Are InHow to disable “Remember forever” option in mounting encrypted disksPossible to make “Forget password immediately” the default when opening LUKS encrypted partition?Ubuntu 12.04 not Locking Encrypted Hard Drive on Log OutMount LUKS Ext4 USB Pen Drive in NautilusCannot mount encrypted LUKS drive with “x-gvfs-show” optionPossible to make “Forget password immediately” the default when opening LUKS encrypted partition?How to disable “Remember forever” option in mounting encrypted disksusb drive is not mountingUbuntu 16.04.3 Kernel panic during boot (after trying to auto decrypt disk on startup)How to enter the password only once if /home is LUKS-encrypted?using password manager to unlock LUKS driveMounting LUKS encrypted drive

"To split hairs" vs "To be pedantic"

Why Did Howard Stark Use All The Vibranium They Had On A Prototype Shield?

Where to refill my bottle in India?

Can distinct morphisms between curves induce the same morphism on singular cohomology?

Output the Arecibo Message

Is there a name of the flying bionic bird?

"What time...?" or "At what time...?" - what is more grammatically correct?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Why is Grand Jury testimony secret?

Does a dangling wire really electrocute me if I'm standing in water?

How come people say “Would of”?

What is the steepest angle that a canal can be traversable without locks?

Which Sci-Fi work first showed weapon of galactic-scale mass destruction?

On the insanity of kings as an argument against Monarchy

Inline version of a function returns different value then non-inline version

Any good smartcontract for "business calendar" oracles?

JSON.serialize: is it possible to suppress null values of a map?

Springs with some finite mass

Why do UK politicians seemingly ignore opinion polls on Brexit?

How to reverse every other sublist of a list?

How to create dashed lines/arrows in Illustrator

"Riffle" two strings

How long do I have to send payment?



Change the default option to “Forget password immediately” when mounting a Luks usb drive



The 2019 Stack Overflow Developer Survey Results Are InHow to disable “Remember forever” option in mounting encrypted disksPossible to make “Forget password immediately” the default when opening LUKS encrypted partition?Ubuntu 12.04 not Locking Encrypted Hard Drive on Log OutMount LUKS Ext4 USB Pen Drive in NautilusCannot mount encrypted LUKS drive with “x-gvfs-show” optionPossible to make “Forget password immediately” the default when opening LUKS encrypted partition?How to disable “Remember forever” option in mounting encrypted disksusb drive is not mountingUbuntu 16.04.3 Kernel panic during boot (after trying to auto decrypt disk on startup)How to enter the password only once if /home is LUKS-encrypted?using password manager to unlock LUKS driveMounting LUKS encrypted drive



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








6















I would like to do exactly what this poster wants to do:




When a LUKS encrypted partition pops up the unlock window it gives 3
options for how to remember the password. The "Remember password until
you logout" is always ticked by default. Is there a way to make
"Forget password immediately" the default?



Enter a passphrase to unlock the volume:
[] Forget password immediately
[x]Remember password until you logout
[] Remember forever



Unfortunately, there hasn't been any answer to this question, so I created a new question. (Let me know if I wasn't supposed to do it this way!)










share|improve this question
























  • For people coming from Google: If you want to forget it after accidentally choosing "Remember forever" you can follow the steps explained here.

    – Francisco Presencia
    Jan 5 '17 at 1:41

















6















I would like to do exactly what this poster wants to do:




When a LUKS encrypted partition pops up the unlock window it gives 3
options for how to remember the password. The "Remember password until
you logout" is always ticked by default. Is there a way to make
"Forget password immediately" the default?



Enter a passphrase to unlock the volume:
[] Forget password immediately
[x]Remember password until you logout
[] Remember forever



Unfortunately, there hasn't been any answer to this question, so I created a new question. (Let me know if I wasn't supposed to do it this way!)










share|improve this question
























  • For people coming from Google: If you want to forget it after accidentally choosing "Remember forever" you can follow the steps explained here.

    – Francisco Presencia
    Jan 5 '17 at 1:41













6












6








6


1






I would like to do exactly what this poster wants to do:




When a LUKS encrypted partition pops up the unlock window it gives 3
options for how to remember the password. The "Remember password until
you logout" is always ticked by default. Is there a way to make
"Forget password immediately" the default?



Enter a passphrase to unlock the volume:
[] Forget password immediately
[x]Remember password until you logout
[] Remember forever



Unfortunately, there hasn't been any answer to this question, so I created a new question. (Let me know if I wasn't supposed to do it this way!)










share|improve this question
















I would like to do exactly what this poster wants to do:




When a LUKS encrypted partition pops up the unlock window it gives 3
options for how to remember the password. The "Remember password until
you logout" is always ticked by default. Is there a way to make
"Forget password immediately" the default?



Enter a passphrase to unlock the volume:
[] Forget password immediately
[x]Remember password until you logout
[] Remember forever



Unfortunately, there hasn't been any answer to this question, so I created a new question. (Let me know if I wasn't supposed to do it this way!)







usb-drive luks






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:24









Community

1




1










asked Mar 18 '15 at 21:04









JustgivemeanameJustgivemeaname

19311




19311












  • For people coming from Google: If you want to forget it after accidentally choosing "Remember forever" you can follow the steps explained here.

    – Francisco Presencia
    Jan 5 '17 at 1:41

















  • For people coming from Google: If you want to forget it after accidentally choosing "Remember forever" you can follow the steps explained here.

    – Francisco Presencia
    Jan 5 '17 at 1:41
















For people coming from Google: If you want to forget it after accidentally choosing "Remember forever" you can follow the steps explained here.

– Francisco Presencia
Jan 5 '17 at 1:41





For people coming from Google: If you want to forget it after accidentally choosing "Remember forever" you can follow the steps explained here.

– Francisco Presencia
Jan 5 '17 at 1:41










2 Answers
2






active

oldest

votes


















1














I was looking for the same thing, but judging from a similar question that was answered on StackExchange, there isn't a way at present. It looks like the default behavior was changed from "Forget password immediately" to "Remember password until you log out", but absent some way to tweak this, the new default isn't going to work for some of us either.



Hope this helps!






share|improve this answer
































    0














    There is no out of the box way to change the default for this menu option. However, there is a work around, where you create a script to detect X window and then have the system send an alt+i signal that will switch it to immediately forget.



    You can also set up a script to udiskctl --lock --unlock the drive, which will get rid of the file manager integration, thus the security risk, of saving it to the keyring, if by a non-root user.



    As for me,
    udisksctl unlock -b /dev/sdb1 #Decrypts usb and mounts it
    umount -l /media/john/usbfolder Lazy umount with mapping equal to mounted path
    udisksctl lock -b /dev/sdb1 Encrypt the usb



    It gets a little more complication since the dialog window does not have a lot of metadata to manipulate with X.





    share








    New contributor




    Julien Tremblay McLellan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f598430%2fchange-the-default-option-to-forget-password-immediately-when-mounting-a-luks%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      I was looking for the same thing, but judging from a similar question that was answered on StackExchange, there isn't a way at present. It looks like the default behavior was changed from "Forget password immediately" to "Remember password until you log out", but absent some way to tweak this, the new default isn't going to work for some of us either.



      Hope this helps!






      share|improve this answer





























        1














        I was looking for the same thing, but judging from a similar question that was answered on StackExchange, there isn't a way at present. It looks like the default behavior was changed from "Forget password immediately" to "Remember password until you log out", but absent some way to tweak this, the new default isn't going to work for some of us either.



        Hope this helps!






        share|improve this answer



























          1












          1








          1







          I was looking for the same thing, but judging from a similar question that was answered on StackExchange, there isn't a way at present. It looks like the default behavior was changed from "Forget password immediately" to "Remember password until you log out", but absent some way to tweak this, the new default isn't going to work for some of us either.



          Hope this helps!






          share|improve this answer















          I was looking for the same thing, but judging from a similar question that was answered on StackExchange, there isn't a way at present. It looks like the default behavior was changed from "Forget password immediately" to "Remember password until you log out", but absent some way to tweak this, the new default isn't going to work for some of us either.



          Hope this helps!







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:37









          Community

          1




          1










          answered Mar 10 '16 at 21:50









          Joshu CoatsJoshu Coats

          111




          111























              0














              There is no out of the box way to change the default for this menu option. However, there is a work around, where you create a script to detect X window and then have the system send an alt+i signal that will switch it to immediately forget.



              You can also set up a script to udiskctl --lock --unlock the drive, which will get rid of the file manager integration, thus the security risk, of saving it to the keyring, if by a non-root user.



              As for me,
              udisksctl unlock -b /dev/sdb1 #Decrypts usb and mounts it
              umount -l /media/john/usbfolder Lazy umount with mapping equal to mounted path
              udisksctl lock -b /dev/sdb1 Encrypt the usb



              It gets a little more complication since the dialog window does not have a lot of metadata to manipulate with X.





              share








              New contributor




              Julien Tremblay McLellan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.
























                0














                There is no out of the box way to change the default for this menu option. However, there is a work around, where you create a script to detect X window and then have the system send an alt+i signal that will switch it to immediately forget.



                You can also set up a script to udiskctl --lock --unlock the drive, which will get rid of the file manager integration, thus the security risk, of saving it to the keyring, if by a non-root user.



                As for me,
                udisksctl unlock -b /dev/sdb1 #Decrypts usb and mounts it
                umount -l /media/john/usbfolder Lazy umount with mapping equal to mounted path
                udisksctl lock -b /dev/sdb1 Encrypt the usb



                It gets a little more complication since the dialog window does not have a lot of metadata to manipulate with X.





                share








                New contributor




                Julien Tremblay McLellan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                  0












                  0








                  0







                  There is no out of the box way to change the default for this menu option. However, there is a work around, where you create a script to detect X window and then have the system send an alt+i signal that will switch it to immediately forget.



                  You can also set up a script to udiskctl --lock --unlock the drive, which will get rid of the file manager integration, thus the security risk, of saving it to the keyring, if by a non-root user.



                  As for me,
                  udisksctl unlock -b /dev/sdb1 #Decrypts usb and mounts it
                  umount -l /media/john/usbfolder Lazy umount with mapping equal to mounted path
                  udisksctl lock -b /dev/sdb1 Encrypt the usb



                  It gets a little more complication since the dialog window does not have a lot of metadata to manipulate with X.





                  share








                  New contributor




                  Julien Tremblay McLellan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  There is no out of the box way to change the default for this menu option. However, there is a work around, where you create a script to detect X window and then have the system send an alt+i signal that will switch it to immediately forget.



                  You can also set up a script to udiskctl --lock --unlock the drive, which will get rid of the file manager integration, thus the security risk, of saving it to the keyring, if by a non-root user.



                  As for me,
                  udisksctl unlock -b /dev/sdb1 #Decrypts usb and mounts it
                  umount -l /media/john/usbfolder Lazy umount with mapping equal to mounted path
                  udisksctl lock -b /dev/sdb1 Encrypt the usb



                  It gets a little more complication since the dialog window does not have a lot of metadata to manipulate with X.






                  share








                  New contributor




                  Julien Tremblay McLellan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.








                  share


                  share






                  New contributor




                  Julien Tremblay McLellan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 5 hours ago









                  Julien Tremblay McLellanJulien Tremblay McLellan

                  34




                  34




                  New contributor




                  Julien Tremblay McLellan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  Julien Tremblay McLellan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  Julien Tremblay McLellan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f598430%2fchange-the-default-option-to-forget-password-immediately-when-mounting-a-luks%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

                      Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch

                      fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap