Home > Error Could > Error Could Not Setup Ecryptfs Auto-mount

Error Could Not Setup Ecryptfs Auto-mount

The first will be the long way. Error mounting eCryptfs: [-2] No such file or directory Check your system logs; visit This is a common error that you get if you use a invalid directory when you give Slowwwwwwwubuntupoke. In this case, you might want to only put your private key in ~/Private, and leave the rest (or at least the public keys saved in "authorized_keys" file) in the clear. check over here

In which file is the mount command that does this job? But keep in mind that almost all the users use cryptography and security knowing nothing about them: they are using passwords like "password", "abcdef", "123456", etc... If I try to give this command: "mount -i /home/leo/Private", I get the error: "Mount: no such file or directory". Ubuntu Logo, Ubuntu and Canonical Canonical Ltd. https://answers.launchpad.net/ecryptfs/+question/163661

dpkg -L ecryptfs-utils show only one file installed in pam, /usr/share/pam-configs/ecryptfs-utils: Name: eCryptfs Key/Mount Management Default: yes Priority: 0 Auth-Type: Additional Auth-Final: optional pam_ecryptfs.so unwrap Session-Type: Additional Session-Final: optional pam_ecryptfs.so unwrap encryption ecryptfs share|improve this question edited Jan 9 '12 at 8:26 Anonymous 6,04032329 asked Jan 9 '12 at 5:15 mgrandi 221127 I'm not sure that's the best way to Although any more permanent suggestions are very welcome. My GPG key.

Replace username with whatever username you want to use. You said you are 'trying to reinstall, but I want to backup my encrypted home first'. The normal way of doing this is backup=>reinstall=>restore. Edit: It seems that keeping a terminal open in the ~ folder solves the problem.

Here's how: Update to the latest ecryptfs-utils package $sudoapt-getupdate&&sudoapt-getupgrade Ensure that ~/Private is not mounted $ecryptfs-umount-private Establish the links in your unmounted ~/Private cd~/Private&&sudoln-sf/usr/share/ecryptfs-utils/ecryptfs-mount-private.txtREADME.txt&&sudoln-sf/usr/share/ecryptfs-utils/ecryptfs-mount-private.desktopAccess-Your-Private-Data.desktop Recovering Your Data Automatically Use ecryptfs-recover-private boot It is also easier to do. its a very old version of ubuntu that i have been upgrading since and i want to get a fresh install. To resolve this problem, it is possible to have the script that unmounts the Private folder to run at login, so it cannot be accessed without the password being put in

SHOULD ONLY BE CALLED FROM 'adduser'. --undo Provide instructions on how to undo an encrypted private setup Be sure to properly escape your parameters according to your shell's special character nuances, Not the answer you're looking for? id "$USER" | grep -qs "\(ecryptfs\)"; then error "$(gettext 'User needs to be a member of ecryptfs group')" fi fi # Obtain the user's home directory HOME=`getent passwd "$USER" | awk Offline #3 2009-05-28 20:14:35 bangkok_manouel Member From: indicates a starting point Registered: 2005-02-07 Posts: 1,554 Re: [SOLVED] eCryptfs: how to set auto-mount up at login on Arch you don't want to

They stay the same. http://askubuntu.com/questions/115497/encrypted-home-directory-not-auto-mounting I already figured out how to re-mount it, but I now have a problem. When you need to work with ~/Private only then you should mount it for added security. I need my /home directory back!

Then after reinstalling you just enter the password and transfer everything back? check my blog The long way gives you more functionality in your home directory. You need to install an RTFM interface. Replace the appropriate number for where your /home partition is.

Question information Language: English Edit question Status: Answered For: eCryptfs Edit question Assignee: No assignee Edit question Last query: 2011-07-04 Last reply: 2011-07-06 Related bugs Link existing bug Related FAQ: None The actual contents of the file can be viewed below. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 In the Command field, type /usr/bin/ecryptfs-umount-private and the Comment field can can be left blank. this content You probably need to delete that first, if it's there, then try uninstalling and reinstalling ecryptfs-tools.

Click Add. ecryptfs-unwrap-passphrase/home/username/.ecryptfs/wrapped-passphrase Type your login passphrase to reveal the mount passphrase If your login passphrase matches the passphrase used to encrypt the wrapped-passphrase file, your mount passphrase will be written to screen. Offline #7 2009-05-29 20:49:41 leo72 Member Registered: 2009-05-28 Posts: 16 Re: [SOLVED] eCryptfs: how to set auto-mount up at login on Arch Yes, I'm wrong.I mixed the contents of the two

If you don't have your mount passphrase please read here (Recovering Your Mount Passphrase).

I can tell this by looking at /dev/sda1 and /dev/sda6. I am aware of ecryptfs-setup-private script, but it does not automount for remote ssh logins (console logins). If you look at the df -h I can see /dev/sda6 is much bigger than /dev/sda1 so I know /dev/sda6 is my /home partition. In which file is the mount command that does this job?

echo "$(gettext 'Testing mount/write/umount/read...')" printf "%s" "$MOUNTPASS" | ecryptfs-add-passphrase $FNEK - /sbin/mount.ecryptfs_private || error "$(gettext 'Could not mount private ecryptfs directory')" temp=`mktemp "$MOUNTPOINT/ecryptfs.test.XXXXXX"` || error_testing "$temp" "$(gettext 'Could not create empty We can stop ecryptfs from unlocking the Private folder on startup, by removing the empty file auto-mount which is located in ~/.ecryptfs/, where you also can remove the auto-umount file, if Since this is a live cd the directory will not exist, so you need to create it. have a peek at these guys Enjoy!

Until that happens (hopefully soon), standard # file permissions (600) are all that's protecting it. asked 4 years ago viewed 9024 times active 4 years ago Linked 1 .bashrc not run when SSH-ing in as a user who has home dir encryption 1 Install Ubuntu 14.04 Toggle navigation APT Browse Query Search ecryptfs-utils 96-0ubuntu3 / usr / bin / ecryptfs-setup-private This file is indexed. /usr/bin/ecryptfs-setup-private is in ecryptfs-utils 96-0ubuntu3. So be careful.

If you are using a kde or xfce live cd the syntax may be different below so please install nautilus if that is the case with this command. ~ $ sudo Uninstall the utilities (this is specific to your Linux distribution) $ sudo apt-get remove ecryptfs-utils libecryptfs0 " } error() { echo "$(gettext 'ERROR: ')" "[email protected]" 1>&2 exit 1 } error_testing() { Offline #11 2011-11-21 16:12:18 fsckd Forum Moderator Registered: 2009-06-15 Posts: 3,656 Re: [SOLVED] eCryptfs: how to set auto-mount up at login on Arch mervinb,Don't necro-bumpWe do not provide assistance for other Also note:1) That code for automounting in your shell init file is not really needed when you don't encrypt your entire $HOME.

Output the first position in your program for each input character When hiking, why is the right of way given to people going up? Inserted auth tok with sig [19ed9549e2d29b0f] into the user session keyring Inserted auth tok with sig [3630ff94344fc1a5] into the user session keyring fopen: No such file or directory keyctl_search: Success Perhaps