Ubuntu :: Command Not Working Properly In Encrypted Home Dir?

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


ADVERTISEMENT

General :: Usermod Command Not Working Properly?

Mar 22, 2011

I created a user named Bob. Now i want to change its home directory to be Bob1. I did this

usermod -d /home/Bob1 Bob

but not effect !!!

The name was still Bob. What might be issue ?

View 8 Replies View Related

Server :: SCP Command Is Not Working Properly Due To SSH Enabled?

May 27, 2011

My Question is I have installed the ssh key authentication in Server A. User can connect this using key file via SSH. without authentication user can't connect this system via SSH. Now I am trying to copy the file from Server B through SCP command. But it is not working. While I am trying use this command from Server B I am getting below error "ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection timed out lost connection". xxx.xxx.xxx.xxx is Server A. SSH is enabled in both server A,B.

why SCP command is not working?

View 1 Replies View Related

Programming :: Ptrace System Command Not Working Properly In X86 Platform

Apr 20, 2011

basically in the child process iam just calling the ptrace(PTRACE_TRACEME, 0, NULL, NULL) system call but if add this stsyem call rest of the code not working properly. i found the reason basically what happening is when we have ptrace() system call its printing the same variable 3 times i.e its not executing it 3 times but just it is printing 3 times .iam just wondering how it could be possible.

View 1 Replies View Related

Ubuntu :: ERROR - Encrypted Directory Not Setup Properly

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

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

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

General :: "file" Command Not Working Properly For UTF8 Files?

Oct 30, 2009

I have some files which are UTF8 and have first line as blank. It shows as data file by "file" command. If I remove the blank line, it shows it as UTF8 text file. I have to choose displayable text files from many files, so I used "file" command.

Note: I do not have permission to attach file. So not able to attach sample file here.

View 5 Replies View Related

Ubuntu :: How To Know Home Folder Is Encrypted

Jul 13, 2010

I can't remember if i choose encrypt my home folder when i first install ubuntu.

is there a way to know if it's encrypted?

View 7 Replies View Related

Ubuntu :: 10.10 - How To Recover Encrypted Home

Nov 22, 2010

Dummy me let root run out of space because I didn't know to use logrotate. I was able to compress the system logs but not before the damage was done me thinks; now the computer is unbootable. I booted from a LiveCD and got my old partitions mounted under /media/oldroot to try and recover files; however, I forgot that I had encrypted my home. I found [URL] and was following it; however, I seem to run into a bunch of path issues after I chroot.

The chroot command returns:
bash: groups: command not found

The su command returns:
-su: cut: command not found
-su: getent: command not found
-su: expr: command not found
-su: groups: command not found

Finally, the ecryptfs-mount-private command returns:
-su: ecryptfs-mount-private: command not found

I have separate partitons for /, /home, /tmp, /usr, and /usr/local and bothered to mount the first 2. (If only I had been ambitious enough to create a /var). I was running Ubuntu 10.10.

View 1 Replies View Related

Ubuntu :: No Access To Encrypted Home?

Jan 27, 2011

I have choosen to encrypt Ubuntu 10.10 during installation (no alternate installation). After some time of working properly I get following error message after I put in correct password :

"Could not update ICE authority file /home/surf1/.ICE authority"

When I click "ok" following error message is shown :

"there is a problem with the configurationserver (/usr/lib/libconf2-4/gconf-sanity-check-2 finished with status 256)"

When I click this "ok" next error message appears :

"Nautilus could not create following necessary files : home/surf1/Desktop,/home/surf1/.nautilus"

After I click here ok nothing else happen anymore and I get not access to my account and so to my data.

View 3 Replies View Related

Ubuntu :: Backup PC And Encrypted Home Folders?

Jan 2, 2010

I'm recently switched my work laptop from running winXP to runing karmic. I'm still at the stage of getting my various bits and bobs working correctly. One of these I (may) have a problem with is backup's. I've ran backuppc on a ubuntu 9.04 box in the attic for the last year or so and I've been backing up my laptop to that. But since the switch, since I have an encrypted home dir, what is being backed up is the encrypted files. First, can I recover these if needed (I kept a copy of my passphrase), or can I get backuppc to ssh in as me with my home dir mounted correctly?

Backuppc is using rsync over ssh I've been using linux on and off since about redhat 5.0, so I'm not afraid of the command line or vi

View 5 Replies View Related

Ubuntu :: Undo Encrypted Home Folder?

Feb 10, 2010

I recently did a clean install of Ubuntu 9.10 and when I did I chose to have /home on it's own partition and have it encrypted. The more I think about it the more I regret this decision. What if I want to switch distros down the road? What if I have to boot from a live cd to back up files? Is there a way to "undo" the encrypted home folder permanently? I don't mind having it on it's own partition, it's just the encryption that makes me worry.

View 1 Replies View Related

Ubuntu :: Backing Up Encrypted Home Folder?

Feb 13, 2010

I recently installed Ubuntu Karmic on my netbook (I tried netbook remix but preferred the look of the regular desktop edition). When during installation, the option to encrypt the home folder appeared, and being mildly paranoid I thought, "sure, why not?" (I must warn you that I am a new user with little technical knowledge other than what I have managed to gather in a semi-passive manner over the past couple of months). The problem is, I (try to) backup my data weekly, and so today I gave it a shot (I got the desktop edition a week ago). I have encountered the following problem.

I backup my system following (approximately) the instructions at [URL] for Backup The exact command I enter at backup is:

sudo tar -cvpjf 2010.02.13.tar.bz2 --exclude=/proc --exclude=/lost+found --exclude=/sys --exclude=/mnt --exclude=/media --exclude=/home/dan/music /

(I exclude my music folder as it is huge and I already have it all in several other locations) When I executed this command all ran smoothly for a while, however it soon began backing up the directory /home/.ecryptfs/dan/.Private At this point, it started backing up the huge number of files in this directory. I assume these are encryption keys? Forgive my ignorance... Anyway, it took several hours going through this folder, and finally bzip gave up, complaining of excessive file size:

bzip2: I/O or other error, bailing out. Possible reason follows.
bzip2: File too large
Input file = (stdin), output file = (stdout)

I assume that excluding the encryption keys and such from the backup would be a bad idea: I guess that if I did not restore the relevant directories along with my home folder, it would be inaccessible? Is there a way to avoid backing up such a large amount of data?

View 5 Replies View Related

Ubuntu Security :: Encrypted Home On Karmic

Mar 15, 2010

During the installation of Ubuntu Karmic, I picked the option that encrypts my home directory.

A few questions:

(1) Shortly after installation, I was asked to run a command to print a key necessary for data recovery from a rescue CD. I didn't run it at the time and am now looking for the command to run. What is it?

(2) I think I read somewhere that this also encrypts swap. Great. Correct me if that's wrong.

(3) If I suspend the machine, is my home directory encrypted? That is, if I have this on a laptop and travel with the suspended laptop and someone steals it, are my data safe, or not?

(4) I assume the weakest point in the system is my relatively short login password (but I think the install tests it and found it okay). Is there a recommendation how long this should be?

View 3 Replies View Related

Ubuntu :: Trying To Rebuild Encrypted Home Directory

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

Ubuntu :: Tried To Upgrade - Home Partition Still Encrypted

Jul 10, 2010

I have a dual boot WinXP / Kubuntu system. Recently, I tried to upgrade from 9.10 to 10.04. I have my Kubuntu partition set up with separate partitions for / , /home , and swap. Naturally, I wanted to wipe the slate clean, so I formatted / and left /home alone before doing the install. However, my /home partition was encrypted with the standard crypto that you get when you install. I just deleted the way in by wiping my / partition. Now all of my files are on my drive but encrypted. I do have the unencrypted passphrase given to me when the hard drive was first encrypted, so I am sure there is some way to get my files, but I am unsure how to apply it.

View 9 Replies View Related

Ubuntu :: Does Encrypted /home Stop SSH Access On LAN?

Sep 22, 2010

I've upgraded to my old dell from Xubuntu 9.10 to Xubuntu 10.04 and set up separate /home partition. I chose to encrypt the /home folder when I installed. I'm wondering if that's the quick answer for why I can no longer sftp from my Ubuntu Jaunty laptop. Both machines are on my desk, and I've been happily using ssh to get files between them before this. The Xubuntu machine has openssh server and client installed, the Jaunty machine has only ever had only the ssh client. Now I get a popup saying "Could not open location ..." and the sftp address, and "Host key verification failed." I've not done much with this new install, so I don't mind just re-installing again. I don't need an ecrypted /home, but I do want very much to be able to continue to ssh into that machine. Is it my encrypted /home that's causing this?

View 5 Replies View Related

Ubuntu :: Decrypt Encrypted Home Folder?

Nov 15, 2010

How to decrypt encrypted home folder?Which is already encrypted ?

View 9 Replies View Related

Ubuntu :: Can't Access Encrypted Home Folder?

Feb 16, 2011

I had issues on my last install , I couldn't boot into it cause I accidentally uninstalled python 2.6 and everything it was attached to. So I reinstalled on a separate hard drive, I can see my other file system from the media folder but the only thing in my home dir isthese 2 files 1 read methatsaysPHPCode:THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.From the graphical desktop, click on: "AccessYour Private Data"orFrom the command line, run: ecryptfs-mount-private and then this file Access-Your-Private-Data.desktopbut when I click it and try to run it I get thisrrorPHPCode:Untrusted application launcherThe application launcher "Access-Your-.desktop" has not been marked as trusted. If you do not know the source of this file, launching it may bensafe.

View 7 Replies View Related

Ubuntu :: Recover Data From Encrypted Home?

Jun 14, 2011

so, after long time of succesfull use of kubuntu, i encountered a 1st major disaster yesterday while using kphotoalbum. It has somehow frozen my machine in so mighty way, that it apparently corrupted a directory with majority of my pictures , which now appears to be empty .My home lies on a separate partition, its encrypted aand using btrfs and I am using kubuntu 10.10. So, could anyone give me some clues how to unencrypt my home partition, that i could obtain an image of partition or whatever else usable for photorec to check for pictures?

View 5 Replies View Related

Ubuntu :: Moving Encrypted / Home Directroy 10.04

Aug 5, 2011

I did some minor upgrades to my 10.04 box which grew and grew and grew until I'd hosed xorg, and after some unwise choices about uninstalling X11 as a means to rebuild the system I now have a drive I was using for 10.04 that basically doesn't have an O/S any more... don't ask! First class stupid.Anyhow, I've cracked open a new drive, installed 11.04 and was planning to mount the old /home/me folder as a symbolic link from 11.04. All that was fine until I remembered that 1) I no longer have an OS on my 10.04 drive and I've encrypted my home folder on the 10.04 machine. That home folder is still intact, but obviously not much use right now.

So, have I just hosed myself completely (as I suspect) hosed myself or is there a way to capture the cleartext data from the encrypted folder and move it into the 11.04 machine, either with rsync, restoring the O/S to the formerly 10.04 drive and restoring the encryptied /home to that drive?

Goal 1) recovery contents of encrypted folder to plaintext, but lacking ability to log into O/S that generated the /home folder

2) move data to 11.04

3) attach the cleartext verison of home to my 11.04 account and get to work.

View 6 Replies View Related

Ubuntu Security :: Encrypted Home Folder And DropBox

Mar 9, 2010

I just installed 9.10 on my laptop and selected the option for home folder encryption. I am running DropBox and placed the DropBox folder on my desktop (meaning it should be encrypted when I am logged out.) So I have two questions:
1) Shouldn't this setup cause my DropBox files on the server to be encrypted? Apparently they are not because they appear as unencrypted text using the DropBox Web interface.
2) If they were encrypted on the server (which doesn't appear to be the case right now), how would it be possible to share them with another client unless the encryption on both clients were set up identically?

View 7 Replies View Related

Ubuntu :: Crontab Startup Script In Encrypted Home?

Mar 21, 2010

I have a sh script that is in my home directory that I would like to run at startup. I have added it to the crontab @reboot and it will not run. I installed Ubuntu 9.10 Server x64 with encrypted home directories.If i move the script into another folder outside my home directory then it will run. I am guessing the home directory is not mounted unless I login???? For security purposes I would like to keep the script it in my home directory.how i can achieve this?

View 2 Replies View Related

Ubuntu Installation :: Can't Access The Encrypted Home Directory

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

Ubuntu Installation :: Recovering Files From Old Encrypted Home?

Apr 25, 2010

I purchased a larger hard drive to upgrade my HTPC running MythTV and a Samba file server. I put the old hard drive into an e-SATA enclosure and can still boot to it to access my files, but I can't seem to mount it correctly under the new installation to copy over my files even though I have the mount passphrase and encrypted filenames key.I have tried using this howto, but I run into problems with the encrypted filenames.This is how I'm doing it. I replaced the actual key data with A's and B's to protect my keys:

Code:
$ sudo -i
# ecryptfs-add-passphrase --fnek

[code].....

View 2 Replies View Related

Ubuntu Security :: How To Recover Encrypted Home Partition

Apr 26, 2010

While setting up my laptop on a new hard drive (a bad mobo caused writes which pretty much rendered teh old hdd unusable) I was asked if I wanted to encrypt my home partition.

I've been wanting this for several years - even going as far as trying to get a copy of CheckPoint. That's waht my organization uses on all Wintendo laptops and is required.

In any case, I said "yes" and am happily using my laptop with an encrypted home partition. I'm assuming based on this - [URL] - that it is using EncryptFS as the scheme.

if I were to misplace my laptop, how easy would it be for a forensics team to retrieve my data. Let's assume I have a fairly strong passphrase, such as BisZumBitterenEnd3. [URL]

View 5 Replies View Related

Ubuntu Security :: Recover Encrypted Home Partition?

May 3, 2010

I had some major problems after the recent Ubuntu upgrade and had to boot from a live cd. I have a separate /home partition, but it was encrypted using the default install encryption in the 9.10 install cd. How can I get to my files so I can back them up?

I have tried this but it did not work: http://ubuntuforums.org/showthread.php?t=1337693

View 9 Replies View Related

Ubuntu :: Encrypted /home Partition And Running Out Of Space?

May 26, 2010

I have an Acer Aspire One, Model ZG5 (also known as the 110 with 8GB SSD) which originally came with Linpus Lite installed on it.

I previously had 9.10 installed which was great, but I've done a fresh install of UNR 10.04 since I had a full /home partition and wanted to set up with more space.

This time, I opted for a larger /home drive (~4GB) and also to have it encrypted, which is a good idea for netbooks given their portability (and I have no idea why I didn't do it before!). Since I had very little space on my 8GB drive (if I wanted a larger /home) then I installed /home onto a separate partition, which is located on a 16GB SD card which lives in my machine permanently.

Installation was a breeze, and encryption seems to work fine. I have verified it and it seems to be working. However, I've now hit two related problems - one of which is to do with Thunderbird, and one which is an issue with the encrypted /home drive.

Firstly, I have a large gmail account which I like to replicate offline in Thunderbird (am using v 3.0.4). My online gmail tells me that I'm using 1.4GB of data space online. Using the old T'bird (v2.whatever) my offline T'bird storage was approximately the same size. This is not now true of my current offline storage file size, which is showing at 3.2GB for the same data. I started with a clean slate, just installing T'bird, setting up my account and then leaving it to download all data from Google.

Anyone know why this offline size is so much bigger than the online storage size or even the previous offline storage size?

Secondly, the encrypted /home drive. Given that I needed I put this on a separate card and partition, I had hoped to escape any issues with not having enough space. However, my system is now telling me that /home is out of space...

Specifically, I can see that I have used 3.6 of my 3.8GB storage for /home. This is due to the large size of my offline storage folder.

As I see it, I need to do one of two things (possibly both) - reduce the size of my offline e-mail storage, and increase the size of my /home partition.

Reducing the offline storage will be about finding out why it's so big in the first place.

However, if I wanted to increase the size of my encrypted /home file how would I do this? I have used gparted to make additional space after it - so I could increase the size if it's possible, but I am a little concerned.

If I just increase the size of the partition, would this work? Are there issues with the fact that it's an encrypted partition? What should I be aware of if I wanted to increase an already in-use partition, and how should I best go about this?

Do I need to do it from a live USB image?

View 2 Replies View Related

Ubuntu :: Open The Data It Was The Old Encrypted Home Directory?

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







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