Menu

Upgrade to Ubuntu 20.04 & VC 1.24 Upd4; 3x password for access

john doe
2020-06-16
2020-07-15
  • john doe

    john doe - 2020-06-16

    Not knowing where to place; also placed under 'Tickets' #353
    No response so far as of 06/11/2020

    Hello

    Checked everywhere in the forum; followed steps in the forum for 18.04, but results.
    Had 1.24Upd4 installed on 18.04; updated to 20.04; now 3x password for access to drives or usb sticks.

    No more than 1 VC installed.

    Quite an issue.

    Any suggestions?

    Dream

     
  • Sr Lopez

    Sr Lopez - 2020-06-16

    Try 1.24-Hotfix2

     
  • john doe

    john doe - 2020-06-27

    Sorry, but that does not solve the issue.

    Having gone back to 1.24upd4, VeraCrypt works as expected when running via Terminal.
    I remember having the same type of issue updating to Ubuntu 18.04, coming from 16.04.
    VeraCrypt needed an update.

    As having this issue, do I continue under a Ticket 353, or do I stay here under 'Technical Topics'?

    Dream

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2020-06-27

    @dreamquartz: I don't have this issue on my Ubuntu 20.04 machine no matter how I launch VeraCrypt, either in Terminale or from the applications list. Admin password is asked only once.

    Below is video showing my test that was done using 1.24-Update4 version. Are you calling VeraCrypt differently? In a different context?

    As last resort solution, you can call VeraCrypt with the switch --use-dummy-sudo-password in order to switch to the old behavior that send dummy password and which will always work.

     
    • john doe

      john doe - 2020-06-29

      Using the Terminal to access VeraCrypt, everything is as expected.
      Using the GUI, I have to enter the SUDO password 3x. This is the same as was with 18.04, as I remember. There was an update issued to fix it.

      How did you install 20.04?
      I did it via the upgrade protocol.
      I do not know what happens with a fresh install of 20.04.

      Dream.

       
  • Mounir IDRASSI

    Mounir IDRASSI - 2020-06-29

    I tested on a freshly installed Ubuntu 20.04. It is strange that the issue would appear on an upgraded system and not freshly installed one. I will perform an upgrade of 18.04 and see if I have the same issue.

    As a workaround, I propose to you the following easy solution based on the switch I mentionned earlier:

    • rename /usr/bin/veracrypt to /usr/bin/veracrypt.bin: sudo mv /usr/bin/veracrypt /usr/bin/veracrypt.bin
    • create a bash script with the following content by typing sudo nano /usr/bin/veracrypt and pasting the following content:
    #!/bin/bash
    
    set -e
    
    /usr/bin/veracrypt.bin --use-dummy-sudo-password $*
    
    • make the script /usr/bin/veracrypt executable: sudo chmod +x /usr/bin/veracrypt

    Now you can use VeraCrypt normally as before and you will be prompted only once for the admin password (but you will get an entry in the system logs about a failed authentication attempts, the whole point of new sudo mechanism is to avoid this entry).

    Does this suite your need?

     
  • john doe

    john doe - 2020-07-15

    Ubuntu 20.04 has to many issues and did therefore downgrade back to 18.04. There are no problems there.
    Did you find anything with a clean install of 20.04?

    Dream

     

Log in to post a comment.

MongoDB Logo MongoDB