Ubuntu :: Auto Mount Encrypted Volume Using Login Passphrase?

May 3, 2010

I recently installed Ubunutu 10.04 Netbook Remix onto a Dell Vostro A90. During install I selected "Require my password to log in and to decrypt my home folder", and this is working great.

What I would like to figure out, is how to have a second encrypted volume that lives on my SD Card that is also decrypted automatically upon login.

I've tried a variety of things, but they all require me to re-enter my password at some point during the boot/login, once for user login and the other time to decrypt/mount the volume. I am trying to avoid this, and hopefully will only have to enter my password once. Maybe I can piggyback on the default Ubunutu home directory decryption and make it all appear seamless?

View 3 Replies


ADVERTISEMENT

Ubuntu :: Auto-Mount Encrypted Drive Upon Login Lucid

Jul 31, 2010

I am trying to have an encrypted drive auto-mounted once i log into Lucid.

I created the encrypted drive with the disk utility in administration menu

I also have the password remembered "forever" so when i am logged in i just click the icon for the drive on left panel and it mounts.

I am able to find the uuid and know what device is called sdd but i don`t know how to put it into fstab if that is possible?

View 1 Replies View Related

Security :: Change Login Passphrase (to Unlock Encrypted Home Directory)

Nov 21, 2010

I just installed the testing version of Debian with the option to setup encrypted home directories. I used a passphrase that I now want to change to something else. How do I do that?

View 4 Replies View Related

Software :: Mount Error: Can't Mount An Encrypted Volume With An Overlaying Ext3 FS

Jun 6, 2010

I created a encrypted volume on top of software raid1. These are my steps:

1. Create logical partition on sda

2. Create logical partition on sdb (same size)

3. Change type to partition to 'fd' for both partitions

4. Check that the both partitions are same size and type
fdisk -l /dev/sda && fdisk -l /dev/sdb

5. partprobe

6. Make sure there are no remains from previous RAID installations on /dev/sdb by running:
mdadm --zero-superblock /dev/sda6
mdadm --zero-superblock /dev/sdb6

7. mdadm --create /dev/md4 --level=1 --raid-disks=2 /dev/sda6 /dev/sdb6

8. watch cat /proc/mdstat

9. update mdadm.conf
mdadm --examine --scan | grep mdx >> /etc/mdadm.conf

10. Load twofish module
[root@localhost ~]# modprobe twofish

11. # cryptsetup -y -c twofish-cbc-essiv:sha256 create ftdata /dev/md4
Enter passphrase:
Verify passphrase:

12. mkfs.ext3 -b 4096 -R stride=8 /dev/mapper/ftdata

13. mkdir /ftdata

14. Mount the encrypted volume: mount -O noatime /dev/mapper/ftdata /ftdata

It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir

Now, I unmount the volume
cd ~

Code:
umount /ftdata
cryptsetup remove ftdata

And now, if I try to setup my encrypted volume like this:

Code:
[root@localhost ~]# cryptsetup create ftdata /dev/md4
Enter passphrase:
mount -O noatime /dev/mapper/ftdata /ftdata
I get this error:
mount: you must specify the filesystem type

[Code].....

View 1 Replies View Related

CentOS 5 :: Mount Error: Can't Mount An Encrypted Volume With An Overlaying Ext3 FS

Jun 6, 2010

I created a encrypted volume on top of software raid1. These are my steps:

1. Create logical partition on sda

2. Create logical partition on sdb (same size)

3. Change type to partition to 'fd' for both partitions

4. Check that the both partitions are same size and type fdisk -l /dev/sda && fdisk -l /dev/sdb

5. partprobe

6. Make sure there are no remains from previous RAID installations on /dev/sdb by running: mdadm --zero-superblock /dev/sda6 mdadm --zero-superblock /dev/sdb6

7. mdadm --create /dev/md4 --level=1 --raid-disks=2 /dev/sda6 /dev/sdb6

8. watch cat /proc/mdstat

9. update mdadm.conf mdadm --examine --scan | grep mdx >> /etc/mdadm.conf

10. Load twofish module [root@localhost ~]# modprobe twofish

11. # cryptsetup -y -c twofish-cbc-essiv:sha256 create ftdata /dev/md4 Enter passphrase: Verify passphrase:

12. mkfs.ext3 -b 4096 -R stride=8 /dev/mapper/ftdata

13. mkdir /ftdata

14. Mount the encrypted volume:
mount -O noatime /dev/mapper/ftdata /ftdata

It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir

[Code]....

So why is it that I can't mount my encrypted volume after the first time? I am giving the correct password when it asks to.

View 3 Replies View Related

Ubuntu :: Auto-mount Luks Encrypted Partition At Boot?

May 27, 2010

I'm having a problem auto-mounting a new luks partition. I have crypttab and fstab entries. I already have my primary encrypted partition (root) mounting at boot (from the install), but after creating this one manually, it does not open on boot. It auto-mounts when I run the following command manually after boot: sudo luksOpen /dev/disk/by-uuid/<uuid> mycrypt

/etc/crypttab entry:
personalcrypt /dev/disk/by-uuid/a1af5b7b-db58-4690-b586-b74407795e2c none luks
/etc/fstab entry:

[code]...

View 1 Replies View Related

Ubuntu Security :: Auto Mount The Truecrypt Volume?

Feb 9, 2010

I have a 2nd hard drive that I have encrypted using true crypt. Is it possible to set this up with key files (or some other way) to auto mount when linux boots. I need it in true crypt because there are some work programs I dual boot to use in windows, and need to have access to the drive in XP from time to time, and true crypt can mount there as well. But 90+% of my time is in linux and I would like to have it auto mount through fstab (or whatever way it needs to be). My entire linux setup has been set up with encryption through dm crypt and LUKS (except for /boot). So I would think having a key file stored on the computer and an auto mount fstab would be just as secure as however secure my LUKS setup is. So any way to auto mount a true crypt 2nd drive volume?

View 3 Replies View Related

Debian Configuration :: Can't Auto-Mount External NTFS Volume

Apr 6, 2010

I have successfully mounted my Win7 volume and my external hard drives NTFS volume as well. However, after modifying the fstab I seem to only be getting the win7 volume to auto-mount. Below is the contents of my fstab. /dev/sdf3 is not mounting. Again, it works no problem if I manually mount it.

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

[code]....

View 6 Replies View Related

General :: How To Use USB Key For Passphrase For Encrypted / Data?

May 18, 2011

I would like to use a USB key to hold the passphrase for an encrypted /Data partition. A forum search turned up only using that method for / which requires initrd. That's not what I'm after.In openSUSE 11.4 I want to boot normally and then automatically unlock the /Data partition only if the USB key is inserted. I'm assuming this would require some kind of automounting after or during the boot process.

View 1 Replies View Related

OpenSUSE Install :: Change Encrypted Swap Passphrase?

Feb 23, 2011

I've chosen to encrypt my swap partition while I was installing opensuse 11.3 on my PC.
I want to know how I can change its password(passphrase)?

View 2 Replies View Related

Security :: Encrypted Partition Get Mounted Without Being Asked For Passphrase?

Sep 20, 2010

Hello everI'm really confused by the ways an encrypted partition get mounted.It just mounts the partition without asking for the passphrase used to create it. I can list the files in /mnt/sda2, create a new file test.txt, but have no access to the files written to the "real encrypted partition".Then I can see/change the content of the encrypted partition but without being able to see/change the file test.txt created previously with the normal mount command.

The reason I'm asking is that I'm having my custom Debian to automount every partition available on the system at boot time. Is there any way/command to tell if a particular partition is encrypted (by cryptsetup) or not? So that I can mount it the right way and not make the users confused (or even harm the encrypted data).

View 6 Replies View Related

OpenSUSE Install :: Pass Through Login Details To Mount Encrypted Volumes

Jul 17, 2010

I'm looking for a way of mounting an encrypted volume - home folder or a separate mount point, using only the standard login authentication (ie KDM or ssh). I thought the pam_mount module provided this, but I still get prompted for a password on the console at boot time. This is inconvenient as both my main desktops are headless HTPCs. I want the login credentials to be passed through, at log in time. I'm guessing this is possible, but to be honest, encryption is one thing in Linux that still completely confuses me.

View 1 Replies View Related

Ubuntu :: Change Passphrase Login Screen

Jul 31, 2011

Is there a way to change the passphrase login screen? It would be cool to change the background and edit the text?

text : Cryptsetup: evms_activate is not avaible
Unlocking the disk /dev/blablablabla
enter passprase

View 1 Replies View Related

Ubuntu Security :: Ecryptfs Doesn't Auto-decrypt With Auto-login

Jan 6, 2011

I recently installed 32bit maverick and wanted to make it login automatically. I tried enabling auto login from Admin > Login but that didnt work and I was still prompted for my password. Then I went to Users & Groups and changed the password option to Do Not ask for password at login now after I reboot, the user list is shown (only 1 user) and it doesnt ask for password after I click on my username.

However, then it gives a few errors (as i vaguely recall):

1. cannot load .ICE directory in my home directory
2. some error 256 about a gconf-sanity-2 file
3. nautilus cannot load my home directory etc

and then it gets stuck without loading anything (blank wallpaper). i ve tried navigating to my home directory using Alt F2, gksudo nautilus and my home dir contents are encrypted by the ecryptfs (there is a readme.txt file and a shortcut). i have tried to decrypt but it doesnt work... i ve also tried to start/stop gdm, and startx but nothing works. if i stop gdm, then the prompt doesnt recognize my password and keeps on rejecting the commands i enter... I think this has something to do with the home dir not being decrypted due to the dont ask for paswd option... how can i disable the dont ask for pwd without the gui (i can access my / by booting through an external usb).

View 4 Replies View Related

Debian :: Ecryptfs-setup-private Enter Login Passphrase: And Won't Accept

Sep 17, 2010

I just installed ecryptfs (debian Lenny). However, when I try to run it (as normal user), I get the following
$ ecryptfs-setup-private Enter your login passphrase: And it wont accept any password (naturally since this is the first time I'm running it).

View 2 Replies View Related

Debian Configuration :: Auto-login And Auto-connect To Networks

Jun 3, 2010

I press On-button, Debian boots, logs in and automatically connects to the Wireless network AND! to my local pc via LAN. It runs an ssh server, so I can ssh into debian over internet and communicate with the local pc (send a magic packet).Here are my problems:

1) I don't how to log in automatically. This and this doesn't work.
2) I need a network tool that can manage multiple connections and has a reconnect feature. With the default network manager I cannot even connect to more than one network simultaneously although I have two network devices of course.

And I guess I can run all that in console mode, right?

View 10 Replies View Related

Debian :: Tcplay Make Encrypted Volume

Apr 2, 2016

tcplay [URL] ....

Want to make a 1gb volume on dev/sdb usb memory stick.
Wrote
Code: Select allsudo tcplay --create --device=/dev/sdb --pbkdf-prf=SHA512 --cipher=TWOFISH-256-XTS,AES-256-XTS

Command has to be sudo?
Got
Code: Select allPassphrase:
Repeat passphrase:
Summary of actions:
 - Completely erase *EVERYTHING* on /dev/sdb
 - Create volume on /dev/sdb

 Are you sure you want to proceed? (y/n)

I do not want the usb stick to be erased. What do I do, to not erase the usb stick? If you create a volume on the system hdd, it should not erase the system.

View 0 Replies View Related

Ubuntu Installation :: Alternate CD On USB - Natty Not Mounting Encrypted Volume?

May 8, 2011

Alternate CD on USB - Natty not mounting Encrypted Volume I get initramfs prompt. I have a Dell Inspiron Duo. I've tried to install Natty i386 and AMD64. I set my / (root) and swap under LVM under an encrypted volume. Used manual partitioning. But after reboot, I successfully enter the passphrase, swap and root are not mounted.

Now, I've had this working with 10.10. System seemed a little quirky after the upgrading it to Natty. So, I wanted a fresh install. Used Unetbootin to run ISO from USB and also from one of my other partitions. I've tried installing at least 10 times, some repeat, some variations.

View 1 Replies View Related

Ubuntu Installation :: Complete Lockup During Boot From Encrypted Volume

Aug 1, 2011

I've installed Ubuntu 11.04 on a Fujitsu Esprimo E900. During installation, I've used the guided encryption setting because neither GRUB nor LILO would ever install on the LVM configurations I created myself. So after installing Ubuntu 11.04, when I boot regularly, the computer freezes completely. When I try to launch the recovery mode kernel, I get this far and then the computer locks up, too. Ubuntu lockup during boot by germanium, on Flickr

You can see the label is sdb5_crypt which is a bit odd since the partition is on /dev/sda. However, I already tried changing grub.cfg to /dev/sda instead of /dev/sdb but that didn't do anything. This is all a bit odd to be. The funny thing is I've been trying to set this computer up for a month and I'm a professional programmer (Java, JavaScript, Groovy) with 20 years of programming experience and I never thought Ubuntu would be this hard to install on a more-or-less stock Intel box.

View 2 Replies View Related

Fedora :: Recovering Data From Password Encrypted Volume

Mar 4, 2010

I have installed fedora 11 in my system. While installing it asked me encrypted password which i passed. But I forgot that. Now the problem is whenever i boot my system before going to root itself it is asking for volume encrypted password, which as i told you i have forgot. Now i am not able to access my hard disk since it is completely locked. Is there any way to decrypt the password or unlock it. Or if that is not possible can data be recovered,which is my primary requirement..

View 6 Replies View Related

General :: Recovering Data From Password Encrypted Volume

Mar 4, 2010

I have installed fedora 11 in my system. While installing it asked me encrypted password which i passed. But I forgot that. Now the problem is whenever i boot my system before going to root itself it is asking for volume encrypted password, which as i told you i have forgot. Now i am not able to access my hard disk since it is completely locked. Is there any way to decrypt the password or unlock it. Or if that is not possible can data be recovered,which is my primary requirement..

View 1 Replies View Related

General :: Mount External USB Drive In Debian To A Mount Point Based On The Volume Name

May 5, 2011

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.

This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).

View 2 Replies View Related

Debian Installation :: Boot Freezes After Install On Encrypted Volume

Jan 1, 2016

I just installed Debian Testing on an encrypted partition (using the encryption feature in the installer). Problem is when I boot I enter the passphrase and then Debian starts to load a bit and then it stops and won't move again. During a normal boot the boot stops after : EDAC sbridge : Couldn't find mci handler Then do a recovery mode boot from grub loader so more information is displayed during the boot time and it stops after : [12.513770] fb: switching to nouveaufb from simple it stops there I can't type anything, I can reboot the computer with ctrl+alt+del tho

I was booting just fine in a previous installation on a MBR-partitioned disk (now it's GPT-partitioned). I have to add that during installation I added a second encrypted volume on a HDD (while / is on a SSD) that mounts to /data. When few days ago I installed it on the MBR-partitioned disk it asked me for the /data passphrase pretty fast, now it just seems to boot and asks me only one passphrase until it freezes.

View 1 Replies View Related

OpenSUSE Install :: Encrypted LVM Volume - Modprobe Fatal Error

Mar 17, 2011

I recently got a eSata docking station for hard drives and after deciding to make those volumes encrypted LVM's, I created my first logical volume. After setting it up in yast2 and rebooting I received a prompt for the lvm password, gave it and received:

Mar 17 13:38:21 blkdragon kernel: [ 1105.172687] padlock: VIA PadLock not detected.
Mar 17 13:38:21 blkdragon kernel: [ 1105.313056] alg: No test for stdrng (krng)
Mar 17 13:38:21 blkdragon kernel: [ 1105.323189] alg: No test for stdrng (ansi_cprng)
Mar 17 13:38:22 blkdragon kernel: [ 1105.416892] padlock: VIA PadLock Hash Engine not detected.
Mar 17 13:38:22 blkdragon modprobe: FATAL: Error inserting padlock_sha (/lib/modules/2.6.31.14-0.6-desktop/kernel/drivers/crypto/padlock-sha.ko): No such device

Boot resumed and I looked for the reason for this, the padlock-sha.ko module does exist in the appropiate place and the volume was mounted in spite of the error message. Lvmdump seems to indicate that the volume is, in fact, encrypted. My thoughts at the moment are that the volume was encrypted by aes, so the padlock-sha.ko was not necessary to mount the volume. Backtracking the message log the same error happened during the creation of the volume before rebooting. The kernel version gives it away but it's a 11.2 machine.

View 3 Replies View Related

Slackware :: Shrink A LUKS-encrypted Physical Volume - LVM2

Dec 28, 2009

I have a 160GB harddrive with 2 partitions:

1. /dev/sda1 ext2 100MB (this is my /boot partition)

2. /dev/sda2 LVM2 Remaining space (this is my physical volume and is LUKS-encrypted)

There is 1 volume group, slackvg, and 3 logical volumes:

1. swap 2GB

2. root jfs 10GB

3. home jfs 50GB

I would like to shrink /dev/sda2 to make room for another regular partition, is this possible?

View 1 Replies View Related

General :: Invalid Mount Option When Attempting To Mount The Volume

Jun 30, 2010

I have two internal hard drives.I just installed Debian Lenny in the smaller 80GB. But when I try to access the other hard drive it shows:

"Invalid mount option when attempting to mount the volume"

info:

-The 80GB is on dual boot with Windows 7 and Debian Lenny.

-The 500GB secondary hard drive is NTFS filesystem.

View 1 Replies View Related

Server :: Auto Mount USB Drive To Specified Mount Point After Reboot

Jul 19, 2010

I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.

View 7 Replies View Related

Ubuntu :: Run Application Before Gdm (login Screen Or Auto Login)

Feb 22, 2010

I have program that work like Fedora Firstboot it's run only one time after finish installation. I have two questions to ask.

1. How can I start this application before gdm start (login screen or auto login)

2. How can I start this application in fix display resolution (800x600)

My method now is

(This is a part of script , this script execute from /etc/init.d/myfirstboot , I create symlink to /etc/rc2.d/S1myfirstboot for start it before anything)

gdm-stop # first time I use /etc/init.d/gdm stop
DISPLAY=:1
export DISPLAY
/usr/bin/Xorg :1 &

[Code]...

I don't understand why first time firstboot start the system will auto loging in but not complete yet and then my script is start and it's work does not fine I think that is another user is already login , but if I re run my firstboot again and again (by setting something that can revoke my firstboot and restart) it's work before auto login and every things is ok!

View 3 Replies View Related

Ubuntu :: Rhythmbox Auto-starts When Mounting NTFS Volume

Dec 23, 2010

Whenever I mount any of the ntfs volumes, instead of opening the volume, Rhythmbox starts automatically and scans volume for media files. It has nothing to do with media files as it starts even when there is no media file in the volume.

View 2 Replies View Related

Fedora Security :: Image An Entire Luks System Encrypted Volume And The Rest Of The Used HDD, The MBR And /boot Partition?

Jan 21, 2009

I need a FREE solution that can image an entire Luks system encrypted volume and the rest of the used HDD, the MBR and /boot partition. Note: MBR and /boot are not encrypted. Note 2: I want to be able to restore entire drive from image with only a couple of steps. Note 3: Destination HDD space is a factor. Image file must be compressed and the image file must be around 40 to 50 GB or less. The smaller the image the better.

I have used clonezilla live cd before but not for encrypted volumes. I know you can install it in Linux. But, I don't know how to configure it after installation. I would be very happy if someone could tell me how to configure clonezilla in Fedora. How to guides are also welcome. I have one more question. If I image the encrypted volumes and all the stuff I mentioned above while logged in to Fedora, and I restore the drive from the image, will the recovered drive still be encrypted?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved