Ubuntu Security :: ERROR: Encrypted Private Directory Is Not Setup Properly
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
ADVERTISEMENT
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
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
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
Jan 3, 2010
Not using filename encryption when you create a new encrypted folder is easy, but how to disable it in the home encryption that is automatically set up by the Karmic installation CD?
View 1 Replies
View Related
Jul 20, 2011
I am running ubuntu 11.04 I'd like to encrypt my home folder. - how can it be done, without creating new user/starting from scratch. -I'd like to keep all the files and desktop settings - the only change should be that the folder is encrypted now.
View 2 Replies
View Related
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
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
Mar 7, 2011
I installed Ubuntu 10.10 64 on my laptop with the entire 500gb setup as encrypted LVM. This has worked well for several months with no problems. During this time i have been backing up the data to an external usb drive (1tb) on a regular basis. The usb drive was not encrypted. So, I thought it would be a good idea to encrypt the backup drive too. I wiped out the backup drive and set it up as one large encrypted lvm and mbr. This seemed to work fine but immediately afterwards I decided to erase that and set it up as encrypted lvm guid instead of mbr. I couldn't delete it while logged into my desktop so i decided to do it from a bootable gparted usb stick. In gparted i erased the 1TB backup drive once again and planned on setting it up the way I wanted once I was logged back into my ubuntu desktop. Now I cant boot into my desktop with the following errors:
cryptsetup: evms_activate is not available b0d) does not begin with /dev/mapper/
Then after waiting for a few minutes I get an error followed by (initramfs)
When booting from a live version of ubuntu the 250MB boot patition is recognized and 500 partion is there but it is labeled as empty/unused.
Also, I did choose to use the exact same passphrase as what is used on the main bootable drive when I set up the encrypted partition on the external 1TB drive.
View 9 Replies
View Related
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
May 15, 2010
jump into a Linux class in college with only 3 weeks left in the course. I thought I would be able to catch on, and go figure, it didn't exactly happen that way. I was given an assignment to do, and I am so far lost it isn't even funny. I need to create a directory structure, set up file security, create a step by step instruction manual on how to copy/delete said files, and create a guide to common Linux commands. How would I create these files in root and share them with the other users? and where can I find a list of common commands and their functions?
View 5 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
Jan 25, 2011
One of my clients is considering implementing GPG or a similar technology to encrypt internal emails. (They have a different system in place already for external mail.) I've done some reading on the subject but can't seem to find any information about how one might set up a keyserver. All the discussions I've seen so far talk about uploading the public keys to a server like keyserverDoes anyone know what software packages might be used to set up our own private keyserver on a Linux machine?
View 2 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
Apr 17, 2011
Some people have said that it's dumb to use the same key for multiple things, but for curiosity's sake, is it possible to convert one's private key to id_rsa? I know that I can convert my public key to id_rsa.pub with ``$ gpgkey2ssh [key ID] >id_rsa.pub'', and that makes me think that there should be a way to do it with my private key.
View 1 Replies
View Related
Mar 18, 2011
When you install sshd and run it with no modifications, then any other machine can connect to your machine without specifying a key. How does this work? Some key is being used, correct? how does the client know what private key to use?
View 14 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
Mar 26, 2010
At the moment we have one SSH server with the private key being on a usb flash drive, and the public key being on the server in authorized_keys2. Now that three more servers are coming online, should we generate new keys, so we have muliple private and public keys (one pair for each server), or use the same two keys to access all the servers
View 5 Replies
View Related
Oct 12, 2010
I have a seperate partition for my "/home" folder. Whenever I install a new distro I format my "/" folder.
This way I was able to access my old home data files since I install using a different username. Everything worked fine until last Sunday.
10.10, unlike other versions of ubuntu, has encrypted my old username in my home folder.
Then using this document [url]
I was able to mount my hard drive again. But all the file and folder names are like this.
Btw I don't remember selecting an option to encrypt my old home directory in the first place, what is this ?
View 2 Replies
View Related
Oct 12, 2010
I am trying to use puttygen to create a ppk file that I can use with putty. I try to import the private key and it gives me the error: Couldn't load private key (ciphers other than DES-EDE3-CBC not supported). Now I obviously know this is telling me that I have the wrong cipher, but what what do I do to use the correct one? Here are the instructions that I used to create the keys.
Also, when I open the key this is the top:
- BEGIN RSA PRIVATE KEY -
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC
and then some other stuff that I don't think I should share. But the weird thing (to me atleast) is that it lists CBC right at the top there which is what puttygen wants. Why won't it accept it?
View 2 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