Results 1 to 4 of 4

Thread: Mount truecrypt volume "without" password

  1. #1

    Question Mount truecrypt volume "without" password

    Hello,

    I made a simple python script, which get password from kwallet and "automatically" mount the truecrypt volumes after login. The truecrypt is run with sudo and I added to the sudo config:

    %realcrypt ALL = (root) NOPASSWD: /usr/bin/realcrypt

    so the mount doesn't require a password... it work well.

    After each log in a request for root password appears:

    Authentication is required to mount /dev/mapper/truecrypt1.

    If I ignore the request (cancel), the disk stay mounted and everything is OK. But the request is a little bit annoying. Do you know hot get rid of it?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,412
    Blog Entries
    15

    Default Re: Mount truecrypt volume "without" password

    Thread closed for the moment and will be moved to the 'programming/scripting' sub forum.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,412
    Blog Entries
    15

    Default Re: Mount truecrypt volume "without" password

    Quote Originally Posted by Skeletonix View Post
    Hello,

    I made a simple python script, which get password from kwallet and "automatically" mount the truecrypt volumes after login. The truecrypt is run with sudo and I added to the sudo config:

    %realcrypt ALL = (root) NOPASSWD: /usr/bin/realcrypt

    so the mount doesn't require a password... it work well.

    After each log in a request for root password appears:

    Authentication is required to mount /dev/mapper/truecrypt1.

    If I ignore the request (cancel), the disk stay mounted and everything is OK. But the request is a little bit annoying. Do you know hot get rid of it?
    Thread moved and open for consumption.....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Mount truecrypt volume "without" password

    > Skeletonix;2582825 Wrote:

    >> If I ignore the request (cancel), the disk stay mounted and everything
    >> is OK. But the request is a little bit annoying. Do you know hot get rid
    >> of it?


    If the mount point appears in fstab, it should not prompt you. But I do not know how truecrypt
    works, so maybe it is not possible.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from oS 12.3 "Dartmouth" GM (rescate 1))

Tags for this Thread

Posting Permissions

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