Software :: Configure Pam_mount To Automatically Mount An Encrypted Partition ?

Apr 3, 2010

I'm trying to configure pam_mount to automatically mount an encrypted partition (luks) and formatted to NTFS. I typed the command in the configuration file:

Quote:

<volume user="user" fstype="crypt" path="/dev/sda6" mountpoint="~/dane2" options="defaults,umask=000" />

But the partition is mounted read-only. There is some way to mount the partition rw mode?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Pam_mount Mounted Encrypted Partition Gets Automatically Unmounted Over Time?

May 15, 2011

/etc/crypttab :
Code:
storage /dev/sdb none luks, retry=1
/etc/security/pam_mount.conf.xml :
Code:
<volume path="/dev/sdb" mountpoint="/storage" cipher="aes-cbc-essiv:sha256" />

[Code]...

View 1 Replies View Related

Fedora :: Cannot Mount Encrypted Partition?

Apr 11, 2011

I used Ubuntu for years now, but since the latest decisions got public I deceided to try something new: Fedora. I installed the system as a dualboot,Ubuntu and my old data. Because Fedora got installed inbetween of two partitions,ad to do the partitioning manually. I just made one partition /dev/sda4. During the installation process I got asked about the password for my /dev/sda1 partition. Of course, I entered it. So far so good.Now, everytime when I boot, the boot process stops and asks me for the password of the /dev/sda1 partition. However, the boot process does not go on, unless i press STRG+C.After the log in, I can also not access my data, by entering the password (GUI).The only way I can acces the data on that partition is:

Code:
su -
cryptsetup luksOpen /dev/DEVICENAME luks-fedora

[code]...

View 4 Replies View Related

Fedora Installation :: How To Mount Encrypted LVM Partition

Jan 31, 2011

I encrypted my /home partition in my last installation F13. For some reason, I have to reinstall F13. After I login, I can not access /home. I followed some instructions like

modprobe dm-crypt
modprobe dm-mod
cryptsetup luksOpen /dev/vg_vit/lv_home vg_vit-lv_home

[code]...

View 3 Replies View Related

Ubuntu :: Can't Boot - Need To Mount Encrypted Partition?

May 2, 2010

Times like this Ubuntu makes me want to pull my hair out. When I enter my pass on the login screen, it brings up a "Could not update ICEauthority file" error and then goes to a black screen. I've tried to fix this problem for the past 2-3 hours (searching google, these forums, etc) and at this point, I just want the data off my drive so I can restart with a fresh install of Ubuntu. I used the "gsku nautilus" command to mount the disk from a Ubuntu Drive boot, but it's not letting me have access to the encrypted drive. Does anyone know of a work around for this?

View 1 Replies View Related

Debian :: Mount Encrypted LUKS Partition (On Former System HDD)

Feb 1, 2016

I have two basically identical harddrives that are encrypted with LUKS containing a complete debian installation:

Code: Select allroot@x200s:/home/b# lsblk --fs
NAME                   FSTYPE      LABEL UUID                                   MOUNTPOINT
sda                                                                             
├─sda1                 ext2              0b851969-281e-4db2-8a5b-3798e801711b   /boot
├─sda2                                                                         
└─sda5                 crypto_LUKS       cfcf63ef-448a-4f72-9f58-8f7731cf3dfc   
  └─sda5_crypt         LVM2_member       21CS3f-SQeQ-XcMr-kyDs-OPtR-egmT-HkvJAu

[Code] ....

sda is what I currently run to write this text, sdb is my former harddrive, connected via USB.

I want to access the root partition on sdb.

The problem is:

Code: Select allcryptsetup luksOpen /dev/sdb5 oldhd
Enter passphrase for /dev/sdb5:
root@x200s:/home/b# ls /dev/mapper/
control  oldhd   sda5_crypt  x200s--vg-root  x200s--vg-swap_1
root@x200s:/home/b# mount /dev/mapper/oldhd /mnt/
[b]mount: unknown filesystem type 'LVM2_member'[/b]

[Code] ..

Before all this, both sda and sdb where in the same volume group. I renamed the volume group of sdb to "oldDisk"
using

Code: Select allvgrename <UUID> oldDisk

How I can access the data on the root filesystem of my sdb..

View 2 Replies View Related

OpenSUSE :: Mount Encrypted Partition With Bash Script?

Oct 14, 2010

I currently have a simple bash script set up via cron to backup my data (rsync) to an internal hard drive at regular intervals. I leave this "backup" hard drive unmounted, and it is mounted and unmounted as needed with the bash script. If I were to encrypt this "backup" drive (via Luks, or some other means), is there a way to get my backup script to work without me having to be there to enter a password?

View 4 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

Debian :: Reverting RAID 1 - Mount Partition As Standalone Encrypted Disk

Feb 11, 2011

I have 2 identical disks originally configured as a pair for a server. Each of the disks has 2 partitions dev/sdb1,dev/sdb2. The sdb1 partitions I had configured as a raid1 mirror. The sdb2 partitions were non-raid and used as extra misc. Space. Further, the raid setup is also encrypted using dm-crypt luks. Now I want to redeploy each of the disks for new purposes. One of the disks i want to deploy exactly as before (keeping the partitions and content), however without being part of a raid array.

I've successfully deployed this disk into a new system and I am mounting the dev/sdb1 partition as dev/md0 because the disk is set to autodetect raid. Actually I am using cryptsetup and mounting with mapper. Can I get rid of the setting for auto detect on this partition without losing the data, or breaking the encryption? I just want to mount the partition as a standalone encrypted disk. Is it as simple as doing crypt setup luksOpen /dev/sdb1 then mounting it with mapper? Or do I need to change the partition in some way. Or do I simply continue to operate it as a 'broken' raid array?

View 2 Replies View Related

Ubuntu Security :: Right Click - Automatically Get The Encrypt Process To Delete The Un-encrypted File When It Makes The New Encrypted Copy?

Jan 5, 2010

I've just started using ubuntu one. However, some of the files I store on there are sensitive so I encrypt them using seahorse. Right click, encrypt etc etc. My question is, is there a way to automatically get the encrypt process to delete the un-encrypted file when it makes the new encrypted copy?

View 6 Replies View Related

Ubuntu :: Mount Partition Automatically At Start?

Mar 28, 2010

recently i was trying to mount my partition automatically at start up ...so i gone through some tutorials on the net nd made some changes in /etc/fstab file (i made a back up before making any changes). when i was changing permissions of folder in which i tried to mount my all partitions i got my system screwed up.then it was showing following error at start up and GUI was not turning up. "could not update ICEauthority file " also my sudo was not working so first i restored original fstab file through recovery console then i googled out about above errors. I found some solution now my system is working but showing strange behaviour like:

> ubuntu is not detecting any of my hdd partition

> disk utility is not working (showing no error)

>fdisk -l shows nothing

> no new software is getting installed via ubuntu software center (shows no error when clicking on install but nothing turns up)

>i cannot restart or shutdown my system from GNOME it only logs off my session (although through terminal its working)

>no media player showing sound controls enabled

>gnome not showing ethernet or sound volume icon in upper panel (although net is working)

>users and groups from system->administration menu is not working (error:cannot load configuration)

i think most of the administrative tasks are not working.........i googled out but found nothing satisfactory..i dont want to reinstall it, coz i m not very experienced with linux n it took about a whole month to customize my ubuntu 9.10 on my college internet...

View 6 Replies View Related

OpenSUSE :: Mount Vfat Partition Automatically After Boot?

Oct 23, 2010

How to mount vfat partition automatically after boot? After login it it will mount all vfat partition and the icon of those parition will be at desktop. How can it be done. udisks is installed. If i click a vfat partition from pcmanfm it prompts for password to mount.I don't want to click. It will be automatically mounted and i will get the icon of that mounted vfat partition at desktop

View 7 Replies View Related

Ubuntu :: Windows Partition Won't Mount Automatically At Startup?

Jun 2, 2010

I had to re-install Windows XP because the install was running slow.So, I created another partition using GParted for my personal data and moved my files there and re-installed Windows XP.Now, the Windows partition won't mount automatically.NTFS Configuration Tool shows 0.0GB. So, I have to open up a Terminal window, and issue sudo mount /dev/sda1 /media/Windows and everything is fine.

View 2 Replies View Related

Ubuntu Security :: Mount A Truecrypt Partition Automatically With Login Password?

May 17, 2010

I found a way some times ago to mount a truecrypt volume when opening the session by insertion of the login password in the mounting script instead of putting it in clear in the script. I don't remember to command to read/transfer the password.

View 2 Replies View Related

Ubuntu :: Mount Encrypted Ubuntu Partition Onto Gentoo

Mar 8, 2010

ive recently switched to Gentoo as my primary OS - the only problem im having so far is getting my ubuntu partition to mount, aparantly it is encrypted, although i cannot remember ever doing this. It is an ext4 filesystem. When I do

[code]...

It mounts, but when I cd to /media/Ubuntu/home/dean all I see is a blank README.txt and Access-Your-Prive-Data.desktop files. Is it possible for me to mount my ubuntu partition to be read / written to in gentoo? If not, how do I go about removing the encryption? (I still have access to the ubuntu install)

View 1 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 :: Automatically Mounting Encrypted Partitions ?

Nov 24, 2010

I've created some encrypted partitions using Disk Utility, and would like them to be automatically mounted when Ubuntu starts up. Is there a guide to this anywhere?

I've gathered that it involves /etc/crypttab and possibly /etc/init.d/cryptdisks, but haven't had much success so far.

Ideally, some of the partitions would mount early in the boot process, while some of them can mount after I've logged in.

View 5 Replies View Related

General :: Setup Fstab To Automatically Mount NTFS Partitions - GUI To Set The Mount Permissions?

Feb 10, 2010

I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.

1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?

2) If not, is there a tool i.e. GUI to set the mount permissions?

View 14 Replies View Related

Hardware :: Stop USB Stick To Mount Automatically And Mount It Manually?

Jan 26, 2011

I need a guicance related to mounting USB stick of 2GB capacity. Normally when I insert my USB stick it mount automatically and show me.I want that instead the usb mount automatically I manually mount it. Now there are two steps to do it. First How to stop USB to mount automatically ? Second How to mount it manually ?

View 1 Replies View Related

General :: Send Gpg Encrypted Mail Automatically From The Command Line?

Sep 14, 2010

How can I send gpg encrypted mail automatically from the linux command line?

I'm a little stumped on this one, I've tried using mutt but it doesn't encrypt mail unless it's used interactively.

Does anyone know if you can use the build in mail command to do this some how?

View 1 Replies View Related

Ubuntu :: Automatically Unmount Encrypted USB Flash Drive When Device Is Unplugged?

Apr 21, 2010

I formatted the USB flash drive using Karmic's Format Disk utility (right-click on a volume, select "Format..."), and selected "Encrypted, compatible with Linux (FAT)" from the "Type" drop-down menu.It mounts correctly when I plug it in, and I can access the files just fine.When I unplug the Flash drive without using the 'Safely Remove Drive' option, the icon on my desktop changes its name to '2.0 GB Encrypted', instead of disappearing and unmounting like my unencrypted Flash drives do.

I would like to have encrypted Flash drive treated in the same way as my unencrypted Flash drives, which disappear and unmount when unplugged, even if the 'Remove Safely' menu option isn't used. What can I do to accomplish this?NOTES:When I plug the encrypted Flash drive in, the following line shows up in the output of 'mount'. 'secure' is the name I gave the disk during the format process:

Code:
/dev/mapper/devkit-disks-luks-uuid-302db16c-c6e2-4dd9-a259-436437c76475-uid1005 on /media/secure type vfat

[code]....

View 1 Replies View Related

Fedora :: Mount An Encrypted Lvm On A Live Cd?

Mar 4, 2010

I want to mount my laptops encrypted root partition so I can do some maintenance on it - xfs filesystem. Is there a way to do this?

View 8 Replies View Related

Fedora Installation :: F15 Can't Mount Encrypted LVM?

May 24, 2011

I just replaced my Fedora 14 installation in which I have an encrypted LVM which contains /home and /tmp (no, I didn't back up ), when I boot I enter my password, and get dropped to the maintainance login a few minutes later. I'm wondering how I can mount my /home from the Live system so I can just back up over the network.

I haven't worked with LVM very often so I'm out of my depths on this.

This is my partition layout as reported by the installer: screenshot

Edit: upon boot the system tells me that /dev/mapper/logvol01 and /dev/mapper/logvol00 don't exist

Edit2: Nevermind, Disk Utility is smarter than I am.

View 3 Replies View Related

Fedora :: Mount This Encrypted Drive But Unable To Do It?

Dec 3, 2009

I updated through yum tonight had to reboot but it hangs on reboot.Now I can't use my computer.here point me in the right direction to fix this.I have no clue.I really need to mount this encrypted drive but it won't let me this way I can get my files and move them to another os that is working.I put in the password but it will not mount for some reason.My first venture in fedora land does not seem to be going well at all right nowor a page I have work to do and I really don't have time to be reading hundreds of pages to find the right answer.

View 9 Replies View Related

Ubuntu :: Mount A Encrypted Folder Using Cyptkeeper?

Jul 17, 2010

Trying to mount a encrypted folder using cyptkeeper. i'm getting the following error box.

Quote:

The encrypted folder could not be mounted because the mount point is not empty:

I've tried to mount this folder through another partition and OS without any luck, i got the same message.

View 2 Replies View Related

General :: Mount Safeboot Encrypted Windows Partiton?

Sep 9, 2010

how do I mount a SafeBoot encrypted Windows partition on Ubuntu (10.04)?I have tried all thesemount -t ntfs /dev/sda1 /mnt/windowstried changing fstabtried changing grub.cfgI also installed ntfs config tool but it doesn't detect the windows partitionbut sudo fdisk -l show me the windows partition on /dev/sda1

View 2 Replies View Related

Fedora :: Pam_mount And 12 Umount Not Working?

Jan 19, 2010

I have a netbook I am setting up for our class (30 in all when I get it working). I had pam_mount working at creating the mount and unmounting with version 11, but I ran into some problem and am trying to reproduce the same results with Fedora 12. The only problem I seem to be having is the umount process. I don�t even see pam_mount trying to unmount at logoff in the log. Here are the conf files that should be relevant.The part I am getting stuck on is there is no output in the message log and I have the exact same setup on a Fedora 11 setup and it works no problem.

Pam_mount_conf.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">

[code]....

View 2 Replies View Related

Debian Configuration :: Create An Encrypted File And Later Mount It As A Filesystem?

Aug 24, 2010

I am trying to create an encrypted file and later mount it as a filesystem.

KEY=`tr -cd [:graph:] < /dev/urandom | head -c 79`
echo $KEY | openssl aes-256-cbc > container.key
dd if=/dev/urandom of=~/container.img bs=1G count=10
losetup /dev/loop0 ~/container.img

[code]....

The luksOpen command asks me for my passphrase, but always rejects it. I have retried this several times and written down the passphrase - and even tried with a very simple one just to check. And I never can make it work.

View 2 Replies View Related

General :: Mount A Windows File Share Securely (encrypted)?

Jan 15, 2009

I'd like to find a way to mount a windows file share securely (encrypted) as I'll be communicating over the Internet.

View 4 Replies View Related







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