Ubuntu :: Back Up With Encripted Home Directory?
Dec 29, 2010
long time reader and this is the 1st time i have ever had to ask any thing. i got a new hdd and installed it in my laptop, i cloned my partitions but i ended up with a misaligned drive. i backed it up to a usb drive with the idea of just copying every thing back to the new drive when fix, that didnt work. i had made a back up of my home directory with out encryption but i was stupid and accidentally deleted it. now i am out of ideas i have tryed mounting my home directory in a live cd using
Code: Recovery of an Encrypted Home Directory is possible from an Ubuntu 9.10 LiveCD. Mount the disk partition containing the Encrypted Home Directory:
ubuntu@ubuntu$ sudo mount /dev/sda1 /mnt
Establish a proper chroot environment:
ubuntu@ubuntu$ sudo mount -o bind /dev /mnt/dev
ubuntu@ubuntu$ sudo mount -o bind /dev/shm /mnt/dev/shm
ubuntu@ubuntu$ sudo mount -o bind /proc /mnt/proc
ubuntu@ubuntu$ sudo mount -o bind /sys /mnt/sys
ubuntu@ubuntu$ sudo chroot /mnt
[Code]...
View 6 Replies
ADVERTISEMENT
May 28, 2010
I am using back in time to back up files from home and from another mounted directory on my system (ntfs). The back-ups are occurring automatically and appear to be complete; but, I cannot delete old back-up snapshots in the backintime GUI Also with sudo nautilus or as root in terminal with (rmdir) I cannot delete the snapshots. My drive is filling up and rather than uninstalling back in time, I would like to simply delete the unneeded snapshots. How can I delete these files? Is there an rsync file that I should configure to delete these? My expectation of backintime was that it would back-up at the requested frequency and not create complete duplicate copies of the files, but, use symbolic links to unchanged files. How can I verify if this is the case? Does the cron file control this>
View 1 Replies
View Related
Nov 2, 2009
When I booted up this morning the contents of my Home directory are all showing up on my desktop, and there is no single Home folder. How did this change, and how can I change it back so that the Home folder is on my Desktop with the contents inside of *it*?
View 5 Replies
View Related
Jun 2, 2010
Sometimes you get more than you ask for and in this case, I did: I had no idea (had the computer for a few years now) that I was running a dual core 64 bit machine. The silly thing is that I have 32bit Fedora 11 on it, 32 bit versions of all my installed software...etc., etc. Am I able at this point to salvage anything or is it best to just back up the home directory and then do a reinstall?
View 8 Replies
View Related
May 18, 2010
using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner
View 2 Replies
View Related
Apr 20, 2010
I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.
The easiest way to do this would seem to be to just change & export $HOME, eg
cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions
However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?
View 1 Replies
View Related
Sep 22, 2010
I have a dual-boot macbook with an OS X partition and an ubuntu partition. When I first installed ubuntu, I changed my home folder to my OS X home directory to synchronize all my files from both. My home directory is now /media/sda2/Users/username/. In a regular home folder, the icons for Documents, Music, Pictures, Movies, etc. are different (not just with emblems, but actually different icons). But when I changed my home folder, these subfolders' icons stayed the same as regular folder icons and I can't figure out a way to change that default setting. I know how to change the icons for each folder manually, but these changes don't appear everywhere (i.e. nautilus, places, etc). Furthermore, every time I change my icon theme, I would have to manually reassign icons for these folders. Is there a way to globally change the folder icons for these folders?
View 2 Replies
View Related
May 24, 2011
I need to specify a different path to home directories on a particular server than what LDAP contains for the users, besides using a symlink. E.g. "/Users/jdoe" vs "/home/jdoe" I don't want to change the actual LDAP attributes, just want a particular server to point them in the right direction (Ubuntu 10.04).
I'm assuming it's something I could probably set in pam configurations?
View 1 Replies
View Related
Jul 21, 2009
I have a strange problem when I do SSH to a FEDORA9 based Linux Server.
[Code]....
When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied
View 7 Replies
View Related
Jan 6, 2010
I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -
Code:
login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$
Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.
View 14 Replies
View Related
Jun 19, 2010
Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.
Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?
View 10 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
Apr 13, 2010
I'm using Mac OS X's Terminal.app shell to compile and run Fortran programs. One such program resides outside of my home directory (it is in the Applications folder, which resides on my hard drive but seems to be outside of my home folder). How can I navigate into this directory using Terminal.app to run the programs that reside there?
View 7 Replies
View Related
Jan 22, 2010
Now that I've [url="http://forums.debian.net/viewtopic.php?f=10&t=48745"]destroyed[/url] the installation on my notebook, and a fresh install of Lenny with upgrade to Squeeze (to try out smxi) didn't work, I wanted to install Squeeze fresh.But not from a CD. That's too tired, and I've never actually installed from a USB stick.So I set out to do this, for it doesn't seem hard at all:
http://d-i.alioth.debian.org/manual/en. ... 04s03.html
I even get to use cool-sounding commands like zcat, so this is way hipper than burning CDs, of which I have far too many lying around. Now here's the thing, it boots up and gets started, but the versions of don't match. I got both of them from the [url="http://www.debian.org/devel/debian-installer/"]Debian-Installer page[/url] from netinst , both amd64, specifically: http://d-i.debian.org/daily-images/amd6 ... oot.img.gz (30 MB, don't click)
and http://cdimage.debian.org/cdimage/daily ... etinst.iso (139 MB, don't click)
How on man's green web,then,do I make sure that I match up the correct versions of the netinstall image and the installer files?hangs head and slooowly reaches for CD spindle...
View 4 Replies
View Related
Jan 21, 2010
If I wanted to back up a large directory (13 GB) to DVD, what would be the best way to do this? Basically, what is the easiest way to make an archive that is split into volumes small enough to burn to disc?
View 3 Replies
View Related
Oct 14, 2010
if i was in /home/user/directory1/directory2/directory3/directory4 and i changed directory to /home/user/, how do i quickly go back to my previous directory (namely //home/user/directory1/directory2/directory3/directory4 )
View 3 Replies
View Related
Apr 11, 2010
In my bash file I have asked to navigate to some subdir, unzip a file and stay there but when I type pwd I can see i'm always back to home dir.Any way to get shell stick to subdir?
View 4 Replies
View Related
Jan 21, 2010
The title says it all really. I'm using ubuntu 9.04. I've tried 6 players, and am just getting part of the image filling screen.Is it screen resolution, and if so..?
View 5 Replies
View Related
Feb 10, 2010
you can use backspace as a shortcut key to go back the the under directory. How can I do that here in nautilus.
View 9 Replies
View Related
May 10, 2010
How would I go about moving a separate home partition back to /, and be able to delete the /home partition? I'm assuming I would have to copy the contents of /home to the root partition, and change fstab at the very least.
View 6 Replies
View Related
Jul 5, 2010
How in the world do I find the Home Directory?
View 5 Replies
View Related
Feb 1, 2010
I recently found an awful lot of junk files in my home directory, mostly in directories that start with a dot e.g. /home/my home/.mozilla So I did cd du -chs .??* and found 3.5 GB. After pruning, I find < 250 MB of files that I have knowingly created.What is happening is that I installed some programs, say xyz , tried them out and decided they were unsatisfactory, deleted them. The un-installer for xyz deletes the actual program but meanwhile xyz has installed lots of config files or status files in /home/my home/.xyz and the un-installer does not delete these. So if you are running short of space or if backups take forever, it might be worthwhile to do the above command or maybe
View 5 Replies
View Related
Feb 3, 2010
I thought i'd set up the partitions correctly when i installed ubuntu, with a 15 gig "/" partision and a 45 gig "/home" and a 3.8gig "swap"
I was wrong i somehow misplaced the /home partition, and therefore didn't install it
I found this out about 4 days ago as i was running though video tutorial and realized i didnt have it setup correctly afterall
So... i did some research and found this site...[url] and i found something that seemed to work for various people, i deleted the 'now' windows partition and so i had this:
However i unmounted the /home folder following the instructions without realizing that i didnt have permissions to mount the /new home partition as it is not in the extended ubuntu 9.04 linux partition and i have no rights to it
So my question is, how do i fix the path to the /home folder (original) in ubuntu so that i can start over and do this correctly (ie; resize the extended partition and add the /newhoe directory/patition to ubuntu)
I realize that i can use a sudo command before lines to run su commands that are blocked in ubuntu, which is how i screwed up =
I cannot use anything in the menu as all links to programs are dead, i can run the add app, but it cannot install as the install folders are "not there"... i can see them in the terminal so i know my data is there and i can run the live disc to salvage it, but i cannot see it while ubuntu is loaded
Note; i have not restarted the computer and i don't know if this will block ubuntu from restarting either, so i need to fix via terminal, before i can do anything else, like letting the laptop rest.
View 5 Replies
View Related
Feb 19, 2010
if these are set to be encrypted on installation how would I go about changing that?
View 2 Replies
View Related
Jul 2, 2010
I've followed some instructions on installing a new hard drive on Ubuntu ("Installing a New Hard Drive" and "HOWTO move /home to a new hard drive") and I've now successfully got my new drive working with /home. Everything looks to be in perfect working order.Now I'm wondering how to delete my original /home folder. Running "df -h" still shows 97% usage on my / partition and I'd like to clear out the old /home to free up all that space. I just don't know where these files are now is all.
View 9 Replies
View Related
Sep 28, 2010
I made a media station with XBMC and this is working just fine. Now I have an internal hard disk NTFS formatted loaded with multimedia stuff. I would like to appear the disk as directory in my home. Example: /home/xbmc/multimedia where multimedia redirects to the root of the NTFS disk. Is this possible?
View 7 Replies
View Related
Jul 17, 2011
My desktop just froze for some reason and I had to force shut down. When I logged back in I could not get into my /home/username directory, a message popped up that it does not appear to exist and if I would like to put it as root.
what should do to get it back?
View 1 Replies
View Related
Jul 20, 2011
So, I wanted to give myself a short cut to not just login to a remote server, but also change into a particular directory once I got there. This was harder than I expected, but this finally worked when I wrapped this up into a shortcut:
ssh -t user@example.com 'cd /var/www/mydir; bash'
And I just alter the directory path to make another shortcut to a different place on the same server. This does work, however, it seems when I log in this way, some of my environment is lost, and my locale is set back to the default "POSIX". That's not good. I'm running Gentoo Linux (amd64).
View 3 Replies
View Related
Feb 10, 2010
I have a second large storage hdd mounted in Ubuntu in /media/storage. I would like my home directories for me and all future users of the system to be located on this storage drive as well.
I was thinking that the easiest way to accomplish this was to move /home to /media/storage/home and then create a symlink so that /home points to /media/storage/home. Would this work okay?
The only reason I ask, is because I know that a users home directory has a lot of special configuration information stored in it, so I didn't know if this would screw up anything on the system.
Are there any better alternative methods to relocating the home directory?
View 1 Replies
View Related
Jan 7, 2010
I have an interesting problem I have had some troubleinding answers to with researching. The answer is probably so obvious that I should be able to see it. Here is my prob.I am trying to mount a root directory onto the same system (just for testing purposes)I am using nfs and have nfs-kernal-server nfs-common and portmap installed.if I have this in my /etc/exports
Code:
/ 192.168.1.0/24(rw,no_root_squash,async)
then do
[code]...
View 1 Replies
View Related