Ubuntu :: ERROR: Encrypted Private Directory Is Not Setup Properly
Feb 4, 2010
I'm currently running Koala on a Dell Latitude D630. I've been with Ubuntu since Hardy, so I have some experience, but this is beyond me. Basically, I was at school, closed my laptop, and bicycled home. When I opened it up at home, I saw a blank screen. When I tried to reboot, I was told that the disk couldn't be mounted. When I boot a LiveCD, I can see my two disk partitions (/ and /home) as "16GB Filesystem" and "95GB Filesystem". The 16GB system can't be mounted, and I'm pretty sure is fragged. I tried reinstalling Ubuntu, figuring that would fix it, but no luck- it starts fine, but it gets about halfway through and then says it can't install the files.
The machine is still under a service contract with Dell, so swapping out the HD itself isn't such a big deal. It would be nice to get my data, though. I can successfully mount the 95GB (/home) system. I then see two folders "dan/" and "lost+found/". I can't enter the "dan" folder because I don't have permission. Opening a terminal and navigating to /media/95GB Filestystem/dan/ works if I "sudo su root" first, but not as "ubuntu" In the dan/ folder, all I see is "Access-your-private-data.desktop" (because my /home directory is encrypted) and "README.txt". The README says to run the command "encryptfs-mount-private".
When I do that, however, I just get the message ERROR: Encrypted private directory is not setup properly I tried putting my decryption password immediately after the decrypt command, a la: encryptfs-mount-private mypasswordgoeshere but with no change in results. The one ray of sunshine in all this is that I backup my /home directory to an external every week or two. So the actual data loss is not catastrophic. But it *has* been a busy week, so I would really like to recoup that data, since it includes little things like the first chapter of my dissertation, and the job negotiation emails in my .evolution folder.
View 3 Replies
ADVERTISEMENT
Dec 10, 2010
Long story short: I opted to encrypt my home, enter the passphrase and soon as I log out and rebooted, I got stuck with a message about /var/lib/ICEauthority file and other messages. So I've been trying to fix one issue at the time. The bottom line is that I'm trying to get to my private folder. Dropped in recovery mode:
[Code]...
View 3 Replies
View Related
Aug 11, 2011
I had setup an encrypted home directory on my computer, following all the instructions. However, after one reboot, ecryptfs told me "ERROR: Encrypted directory not setup properly." So I rebooted into an Ubuntu Live CD and ran ecryptfs-recover-private. It found my encrypted dir and asked for my login passphrase. I entered it and it told me, "ERROR: The key required to access this private data is not available." Is there any brute force way to recover the key?
View 4 Replies
View Related
Oct 9, 2010
This thread was nearly titled "The volume Filesysyem root has only 128 KB free space remaining" then I discovered the cause my Encrypted Private Directory had grown to 20GB eating all the free space on my Ubuntu system partition. Here's what happened:All was well with my system last night, left it downloading 2 GB of files from the internet to an NTFS drive to return to low space errors this morning.I checked and nothing had been downloaded to my Ubuntu partition, and even if it had, it could of handled the 2GB without issue. Did some reading on here and the first step I tried found the problem:
Code:
mark@media:~$ df -h
Filesystem Size Used Avail Use% Mounted on
[code]....
View 2 Replies
View Related
Mar 15, 2011
I'm trying to setup a OpenVpn on my Ubuntu 10.04 and after doing the configs from here: [URL] I get an error:
[Code]....
View 1 Replies
View Related
Aug 26, 2010
I have Ubuntu Karmic. I chose to install with an encrypted home directory. Recently I got a warning that I only had 2GB of drive space left. This is mostly because of my videos. So I went and bought a new hard drive and partitioned it and made 1 ext4 partition and copied my videos all to the new hard drive. I added a line in my fstab to mount the new hard drive to ~/videos, but when I reboot the computer, there is a screen saying something like "error mounting /home/me/videos, press S to skip or something else to reboot". If I press S to skip, then when my system comes up there is a video directory but it's empty because my other hard drive didn't get mounted. I can run sudo mount /dev/sdb video/ and it will mount fine and I can see all my videos, so why can't fstab mount it? Does this have something to do with my encrypted home directory?
View 14 Replies
View Related
Jan 12, 2010
i followed this guide, [URL] a few days ago and set up an sftp server no problem. The user can only see what is in there home folder which is only the examples file which is empty. Today i went to set up a 2nd ftp account for my own private use. I have it set up and all, followed exactly what he said the 2nd time around and my 2nd user is not chroot'd. I can explor the contents of the whole drive.
My fist user that works fine is "ftpuser" and the group is "sftponly" just like in the guide. My 2nd user is named "ftptaylor". Now i did have an ftp server set up with vsftpd where i had the same ftpuser account in a different group, but it was jailed to /home/ftpuser. I cant tell you how i did it, i followed a number of guides untill one worked. But could it be that the guide above does not in face jail the users, but just that my user was already jail'd?
View 2 Replies
View Related
Apr 13, 2011
After an upgrade gone wrong my 9.10/10.4 is unbootable and I see no way to fix it.
I can't mount the directory now (LiveCD or chroot), it probably has something to do with the breakage and/or pre-existing ecryptfs issues, as I have both login and mount passphrases.
And it's all on one partition too, so before reinstalling I have to back up. How can I back up the encrypted directory? And can I transplant it to a fresh Ubuntu installation?
cp complains about symlinks, returning 'not permitted', is this normal?
ETA: Now that I look at it from LiveCD .ecryptfs and Private appear as broken symlinks (what do they link to anyway??), but when I tried to copy them while chrooting, they were both accessible directories (though still couldn't mount or copy) - I don't get it.
View 2 Replies
View Related
Mar 2, 2011
I have installed Ubuntu 10.10 to a live USB stick and created a new user with an encrypted home directory.Everything is working fine apart from a weird problem.when I create a new file or directory in the encrypted home it does not show up in directory listing.eg:cd ~/Documentstouch test.txtls -aldrwxr-xr-x 2 USER USER 4096 2011-03-02 14:12 .drwx------ 32 USER USER 8192 2011-03-02 13:03 ..if I try editing the file by entering the path, it works, even though ls does not list it!eg: nano ./testls as root makes no difference and the file is not hidden.If I create a file in nautilus, it shows there but still does not show in the terminal or any other app
View 2 Replies
View Related
May 7, 2010
After years with Linux and using ssh on a daily basis I have to admit I've never setup public/private key authentication and I've never run passwordless logon to ssh. It's not that I've never tried, I have - I've just never got it working. That to me is an almost alien concept as I am a tinkerer at heart and rarely stop until something is working the way I'd like it to. I get the principle of what's going on but I've always had a mental block about it.
View 3 Replies
View Related
Feb 8, 2010
set up a redhat nat router for a classroom we have out main network is 192.168.110.0/24 and we ran out of ip address for all the school computers so i added a nat router to a large classroom with a network address of 192.168.116.0/24 almost everything is working fine except a connection to the ads server with a program called medisoft im guessing my nat is blocking it how can i open up all ports to and from my 192.168.116.0/24 network as it doesnt need any protection
View 2 Replies
View Related
Jan 26, 2010
I installed OpenSSH via tasksel and am using Webmin for administration. I'd like to be able to SSH externally and want to setup the necessary public/private keys to use in FileZilla. In Webmin, under Servers > SSH Server I can click 'Host Keys' and see an RSA key. Is this the public or private key for my server? Do I need to copy this into a text file to import it into FileZilla on my remote PC (that I want to connect from)? Is that all that needs to be done (aside from opening the port on my router/firewall)? Or, is there an automated way to set this up via Webmin?
View 1 Replies
View Related
May 24, 2010
I just set up my Twitter account on the Gwibber social client.However Gwibber rather than showing tweets,shows only my Private Messages no matter which column i select. I tried doing a re-setup but that did'nt work.
View 3 Replies
View Related
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
Aug 17, 2010
i've set up a little mail server ob my private server, using getmail to get the mails from different pop accounts and to send it to maildirs of some virtual users, and i use dovecot as imap server to provide the mails to my clients which are mostly outook 2007. i run getmail as a cronjob which fetches my mails every 2 minutes, anyhow i'd like to run it on demand when a client pushes the send/receive button. is there a way to tell dovecot to run getmail on demand?
View 6 Replies
View Related
May 13, 2011
I am in my current directory. I want to copy a directory somewhere else into this current directory. Lets say I want to take it from direc1/direc2 and the directory I want to take is called demo.
Code:
That is what it shows in the man pages, but when I do that, it says cp: no match
View 5 Replies
View Related
May 15, 2011
a friend of mine is doing a small website-project in school (group of ~6 people). They want to use git as VCS and need acces to a server. I have an account on the server from university, but - of course - no root access.
I could create private/public keys for them, to SSH into my account, but I don't want them to have this power I found 'git-shell', which seems to be used for restricted access with git (although I'm not sure whether I understood the functionality).
My question is: Is it possible to configure SSH keys in that way, that the server runs them (and only them) in git-shell in a specified directory (using ~/.ssh/{config,authorized_keys})?
So that they can
- log in with their SSH key
- use git, execute scripts etc.
- use git push/pull from their private+school PC
- work only in a specific directory (like chroot) eg. ~/web-project/
[Code]...
View 2 Replies
View Related
Aug 18, 2010
i noticed that all files can be seen by another computer if the drive is accessed
can I stop this? can i set a private folder?
View 7 Replies
View Related
Apr 8, 2010
How can I set up an encrypted LVM without using the "Guided - Use entire disk" option of the alternate installer.
My drive is quite big and I would like to be able to have my encrypted LVM as well as an extra LUKS encrypted partition which I could mount whenever needed. Unfortunately the options in the alternate installer do not allow me to do this without using up the entire disk.
View 2 Replies
View Related
Dec 17, 2010
shed some light on what the behavior would be if I symlinked a non-encrypted directory (lets call it /media/sdcard/foo) into an encrypted home directory (lets say home/documents/sdcard-docs)Would files written to that symlinked directory be encryptedgarbled, or would they be normal? would files that were attempted to be read be interpreted as encrypted, or would they be read properly?
View 1 Replies
View Related
May 21, 2010
I ran fsck on the wrong partition (which was mounted) and in my haste blew up the file system on that partition. Now here's the kicker, I had 450Gb of data and documents on that partition that was in an encrypted home directory. So the long and the short of it I ran fsck again and I was able to recover all the files, and they are now residing on a Lost+Found folder on my hard drive.I have located the encrypted files, but I don't know what to do with them.
View 1 Replies
View Related
Dec 2, 2010
i was trying to move xampp's root directory from /opt/lampp/htdocs to /home/private/htdocs (in order to use Ubuntu One) but when i restarted apache i got "permission denied" when i tried to load the index page.so i said to my self...hey..let's chmod
i entered this three commands in terminal:
Code:
sudo chmod -R 755 /home/private/htdocs
sudo chmod 755 /home/private
sudo chmod 755 /home
('private' is my username)
after a couple of seconds everything begun to disapper, shortcuts on my desktop, my wallpaper...all.i even tried to execute another command with sudo but i got a nice error message that said i don't have permissions to execute bla bla.now i can't even log into my user.
View 4 Replies
View Related
Apr 21, 2010
I tried upgrading to 10.04, and now when it boots it just goes into a grub2 terminal and doesn't display a boot menu. I tried re-installing grub2 from the live cd, but that didn't do anything. I figured if I've hosed the last install I'll install from scratch, but I can't even access my files from the live cd! I did a bit of searching and everyone seems to just encrypt ~/Private, whereas I've encrypted the whole home directory. So much for security... In the live cd, it has a readme.txt and says to type "ecryptfs-mount-private" to access the files, but it just gives the error "ERROR: Encrypted private directory is not setup properly". What do I do?
View 3 Replies
View Related
Jun 7, 2010
my CPU passed away, got a new system, installed a new 9.04 and blew it up to studio. have 2 new disks and my old raid 0 lvm. mounted is ( lvdisplay) , user rights fixed fine. I do have my old login name and passwd in a book. How can I open the data it was the old encrypted home directory. I have an icon "Acess your private Data" and something called link to Acess Your private data. There I can read link (broken) so the broke link is sorted out, as i do have now a directory in my home with the same name as it has been, /home/coconews/ and that is fine
View 1 Replies
View Related
Jun 18, 2010
Ubuntu 10.04 (64)I have a second drive (currently mounted as /disk2).I want my home directory (/home/jb) to include this second disk as JUST a separate 'folder' accessible from my home area.want the data on the second disk to be encrypted, (just like my /home/jb folder is now).I would prefer to 'blend' the second drive into my existing setup.I'm looking for the safest way to achieve this, don't mind editing fstab etc. or getting my hands dirty on the cli.
View 2 Replies
View Related
Oct 22, 2010
I have plugged an LG TV to my laptop using RGB cable. However Ubuntu recognise it as another brand. The result is that the image of TV is shown reddish. How can I properly install the TV?
View 2 Replies
View Related
Nov 7, 2010
Apparently after an upgrade, I lost access to my encrypted home directory. Looks like upgrade scripts changed the scripts that mounted my encrypted home directory. As I don't have my ecryptfs password handy, is there any way to revert the things back as they were? I have liked Ubuntu all the way but after this upgrade-mess-up, I might change my view.
View 3 Replies
View Related
Jun 6, 2011
I had errors pop up when I tried updating my 10.10 to 11.04 so I ended up having to do it from a Live USB which installs it over everything (fine by me).Unfortunately I forgot I had an encrypted /home directory. So various messages and stuff came up when I tried to log in.nfortunately I don't remember what my encryption passphrase is offhand, so I moved it to a slightly different folder name and had to have a new directory created for my username.It's still there, but how can I try to open it trying the various versions of the passphrase I think it may be? Can I double-click it and try?Also, in the future what is the best way to handle a "fresh" install that I want to connect to my encrypted /home directory?
View 4 Replies
View Related
Jul 7, 2011
I installed Ubuntu Server because I want to learn Linux and I want to learn about servers. I did a newbie tutorial and then shut down. When I booted up today, the files in my home directory were replaced by Access-your-private-data.desktop and readme.txt, but I have no idea why. I followed the instructions in readme.txt and typed ecryptfs-mount-private. It told me
INFO: Your private directory has been mounted.
INFO: To see this change in your current shell:
cd /home/rmob
But if I do ls /home/rmob, it still shows me Access-your-private-data.desktop and readme.txt instead of the files I created there yesterday. Every time I reboot, it tells me
keyctl_search: Required key not available
Perhaps try the interactive 'ecryptfs-mount-private'
If I try ecryptfs-mount-private again, it still tells me it has mounted it, but still just shows me those same two files. Googling about this tells me this means the directory got encrypted somehow. I tried typing touch ~/.ecryptfs/auto-mount which I found in this tutorial, but it didn't make a difference and I can't find any other solution anywhere.
View 2 Replies
View Related
Mar 7, 2010
I just installed ubutnu 9.10 and just installed samba. I edited the config files to workgroup to dhome which is the work group all my windows comptuer uses to share files. I want to share files and also be able to access files off my windows computers. I got onne windows 2000 that has a username needed to be typed in to access it. the rest is accessable. In the config file. I uncommented the security= user thing. I now tried to access the network but still fails.
Here is what I can see. when I go to places and click network I see windows network and click it it will say dhome and Workgroup. when I click on the dhome folder it takes a while and then gives me the error saying sorry didnt' get a list from the server. what do I need to do to access the network?
View 1 Replies
View Related