Menu

Cant mount disk in ubuntu.

Patrick
2020-02-25
2020-03-22
  • Patrick

    Patrick - 2020-02-25

    as the title states. its seems to be impoosible for me to mout a dsik in verakryp usisg ubuntu as os.
    i have no problem whats so ever in win 10

    At the first instalation it worked, then after a rebot it didnt work anymore, so i search the internet without an answer to why veracrypt keeps asking for my admin password in an eternity. it wont let me mount (hehehe lol)
    it keeps asking my admin password and i going mad.
    the disk is found by g parted if thats any help

    Im using the latest version of veracrypt.

     
  • Adrian Kentleton

    The standard way to stop getting constant requests for the admin password is to create a file in /etc/sudoers.d called eg yourusername, with the following line yourusername ALL=(ALL) NOPASSWD: /usr/bin/veracrypt.

    To do this, you would obviously need to be a member of the sudo group, and prefix all commands to create/save the file with sudo.

     
    • Patrick

      Patrick - 2020-03-12

      thanks for reply, Im not sure im able to do what you suggested. is there an easier way to handle this problem ?

       
  • Adrian Kentleton

    Are you a member of the sudo group?

     
  • - 2020-03-21

    Hello,
    i have nearly the same problem but i am on LMDE 4 and LMDE 3. I can mount but not as normal User but as admin/root. My Users are not in any Group and its not a good idea to put them into sudo. This would mean, they have root rights!

    Can you give us a execution line for the sudoers file?
    What do we have to insert in the sudoers file for users in the group plugdev or users?

     
  • Adrian Kentleton

    The line would be:

    %groupname ALL=(ALL) NOPASSWD: /usr/bin/veracrypt
    

    The % prefix indicates it's a group name. You could create a special vc-user group, and add specific users to it.

     

Log in to post a comment.

MongoDB Logo MongoDB