OpenSUSE Install :: Setting Up An Encrypted Home Directory?

Dec 12, 2010

I am having a problem setting up an encrypted home directory with openSUSE 11.3. I used Yast User and Group Management to edit an existing user to encrypt the home directory and the user.key and user.img files were created in the /home directory. I tried it out and logged in as user and created a new file. I logged out and logged in as a different user and was able to see the newly created file in the first users home directory.

I figured I did something wrong so I went back to Yast and deleted the user. I deleted the /home/user directory using file manager su mode. I tried again to create a new user with an encrypted home directory using Yast and now when Yast tries to write the changes I get an error: "pam_mount is already setup for user. Use --replace to replace the
existing entry." I do not know how to proceed from here except to try with a different user name as I do not understand what the error message means and what command to use --replace with.

View 1 Replies


ADVERTISEMENT

OpenSUSE Install :: Migrating The Encrypted Home-directory?

Oct 5, 2010

I am trying to open an encrypted home directory from opensuse 11.2 with opensuse 11.3. This means i have a user.img and a user.key So far i have done:

losetup /dev/loop3 user.img
cryptsetup luksOpen /dev/loop3 home
Enter passphrase for /dev/loop3:

No key available with this passphrase. At this point it will not accept my passphrase.

A luksDump reveals:

cryptsetup luksDump /dev/loop3
LUKS header information for /dev/loop3

[code]....

When i try to use the key file, i get:

cryptsetup luksOpen /dev/loop3 home --key-file home.key No key available with this passphrase.

View 3 Replies View Related

General :: Testing Home Directory Scripts By Setting $HOME To The Location Of The Test Directory

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

Ubuntu :: Cannot Mount Unencrypted Directory To Encrypted Home Directory With Fstab

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

Fedora :: Setting Up Encrypted /home

Jun 16, 2009

I'd like my /home partition to be encrypted. Does this need to be selected during installation (I don't remember seeing an option) or can it be enabled after installation?

How stable is this with ext4 on Fedora 11?

View 7 Replies View Related

OpenSUSE Install :: How To Remount Encrypted Home

May 21, 2011

After update to 11.4, I would like to regain access to my encrypted home that I left intact. Both user.img and user.key files are there, but when I create the same user again in YaST, it does not recognize their presence and it asks again for size of the image. I am afraid it will just overwrite the old image. I do have full backup of hte data, but since its 150GB, I would rather not have to transfer it again.

How can I remount my old encrypted home?

View 7 Replies View Related

OpenSUSE Install :: How Does Encrypted Home Folder Work

Apr 11, 2011

I'm guessing that a file is created as a loopback device and encrypted (using LUKS?)

What is the mechanism used at user login to decrypt and mount the encrypted $HOME and to re-encrypt it at logout?

I confess an ulterior motive here - SWMBO has recently got her hands on an Acer Aspire one running Linpus Lite and there's absolutely no security on it

Personally I'd dump Linpus and put on openSUSE but it's her box and she likes the simple interface that Acer have supplied so maybe I can set up the encrypted $HOME as YaST does for openSUSE if I can find out what to do.

View 4 Replies View Related

OpenSUSE Install :: Encrypted Home Partition Automount?

Jul 24, 2011

First off I'm new to the openSUSE community and would just like to say So, to the issue at hand. I recently switched to openSUSE 11.4 from Debian. I noticed the setup didn't have an option encrypt the home folder like it does in Debian, so not being aware of any other way to encrypt it, I created a new partition, backed up my current home directory, created a new partition and mounted it as home before copying in the contents of the backup to the encrypted home partition I created. Now of course it is askingme to put the crypto password in at each boot, which isn't ideal because it's a family machine and no-one would remember the password but me. Is there any way of being able to automount the encrypted partition without having to put the key in every time? Or better yet an encrypted home folder that doesn't require the key to be put in on each login (as in Debian) without even using a dedicated partition.

View 4 Replies View Related

OpenSUSE Install :: Failure Setting Up Encrypted Dm Device On /dev/sda2?

May 21, 2009

openSUSE Install/Boot/Login: I am looking for a Linux distribution with a working LTSP OOTB. LTSP-openSUSE / KIWI-LTSP looks interesting (http://en.opensuse.org/LTSP).

When I boot openSUSE-11.1-DVD-i586.iso, go through the installer, and attempt to use encrypted LVM, I get the following error dialog:

Code:
YaST2
Error Failure occurred during following action: Setting up encrypted dm device on /dev/sda2 System error code was: -3034

View 1 Replies View Related

General :: Why Is Home Directory Encrypted And Inaccessible

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

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 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 :: 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

Ubuntu :: Add Separate Drive To(encrypted) Home Directory?

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

Ubuntu :: Upgrade To 10.04 - Encrypted Home Directory Access Lost

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

Ubuntu Installation :: Gain Access To Encrypted /home Directory?

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

Ubuntu Security :: Disabling Filename Encryption On An Encrypted Home Directory?

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

Ubuntu Security :: Move To Encrypted Home Directory Not Losing Data?

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

Security :: Change Login Passphrase (to Unlock Encrypted Home Directory)

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

OpenSUSE Install :: Cannot Enter Home Directory

Jul 18, 2010

I get this error when I boot opensuse default and fail safe. It takes me to a console log in, which works. This happened after new kernel install in Linux Mint, which is unbootable atm. I can boot windows, bsd but no Linux.

View 9 Replies View Related

OpenSUSE Install :: Upgrade Erased /home/ Directory?

May 14, 2010

I have just followed the instructions here: Upgrade/Supported - openSUSE to upgrade from version 11.1 to 11.2. When it was upgrading the system, by using: It had problems with a couple of rpms (one oppenofice extras and the other i cant remember). I went away for a moment and when i returned the computer was blocked. I whaited to no avail. I pushed the power button and turned of the PC. I started it again, and in the boot menu it still said version 11.1, but the background was not that of 11.1, but that of 11.2. I booted but did not started X windows, worse still my /home/ directory is empty!

View 1 Replies View Related

OpenSUSE Install :: Home Directory Is Running Out Space

Mar 19, 2011

My machine telling me that my home directory is running out space,It is said 95% in usage.Try to delete the big unwanted files in users (just two user in my machine),df ing, but the home usage status keep on 95%.

View 9 Replies View Related

Ubuntu :: Setting Up Share Folder In Home Directory

Feb 24, 2011

I've created a folder in /home called share. I am the owner. It has no group access. Others have full access. Is this setup safe? My current setup:
Code:
/home$ ls
eve share lost+found roy
I want eve and any future users to have full access to the folder 'share'. I am user 'Roy'.

View 9 Replies View Related

Ubuntu :: Setting Home / Root And Swap Directory

May 15, 2011

I've set a side 80GB on a separate partition, I have 4GB of RAM. I know it will ask me to set /home /root and /swap. How much should I set each one to be with my partition size and RAM.

View 2 Replies View Related

OpenSUSE Install :: Splinting A Home Directory Three Ways For Two Distros?

Jan 6, 2010

I want to do something that would make my life easier. Problem:

1. I use OpenSUSE as my main OS for over 2 years now. BUT I like playing with a flavor of the month OS.

2. Virtual OS installs are not my cup of tea. a) You don't get a "true" feeling for the OS without it being installed on metal. b) I have a OLD cpu and virtual anything is painfully slow.

Solution: Split the /home directory into three partitions.

1. Shared /home partition holding all visible data files

2. OpenSUSE /home partition having all the hidden .files and .directories for its configuration.

3. Flavor of the month OS /home partition having all the hidden .files and .directories for its configuration.

Reasoning:
I can therefore install another OS or Distro and just format and install to 2 partitions. I still have all my documents and files in a separate shared partition.

Issues:
1. I understand why they made the configuration files in /home for multiple users, but when someone wants to keep trying out different things it causes problems. 2. I don't want to place my files on my NAS. I have the same issue. My config files are saved in the NAS/home/and I can't share it without headaches. Doesn't solve my issue. 3. A symbolic link (soft) won't work since it will not update itself if files are moved.
4. Drop Box won't solve my issue and just take up space. 5. Syncing the /home/ folders between the two would take double the space. Just an issue with videos music and pictures. 6. If I make any changes won't this causes issues with the operating system and applications placing .config and defaults to the wrong place?

Solution I can't figure out how to process:

1. Save my .config files on a separate partition.

2. Making a link for each folder from the SUSE or Flavor of the month's /home folder to the storage /home folder located on a separate partition.

View 1 Replies View Related

OpenSUSE Install :: Oversize /Home Directory On Formatted Partition

Jul 17, 2010

I just installed suse 11.3 on formatted partitions (5GB swap, 30GB / and 500GB /home). Just after the installation, My computer showed 25.2GB of /home to be used. When I do:

Code:
dyn-0a2a1f40:/ # df -h .....

That seem to be roughly correct because since yesterday I've been running a program that constantly writes logs and other data files and plots, which might have accumulated a few GB's. It is also collaborated by the output of

Code:
dyn-0a2a1f40:/ # du -sk /home
10548452 /home

I'm not hard-up on space right now but storage has been dear until the recent past. Also out of curiosity, the size of the /home partition is shown as 493 instead of the 500GB allocated while the swap also lists only 4GB instead of 5GB. Below is the output for fdisk -l in case anyone needs it:

Code:
dyn-0a2a1f40:/ # fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x219b052d .....

I have Linux 2.6.34-12-desktop x86_64 and KDE 4.4.5 (which I had previously used in 11.2 without any problems) and 4.0GB RAM.

View 9 Replies View Related

OpenSUSE Install :: Guest User Able To Read Home Directory

Sep 17, 2010

I've created a guest user in the group "user." I'd like to limit its read access to its own home directory. However, by navigating through File system>home it's able to read my home directory. I was under the impression that users were limited to their own home directories. Am I missing something, or is there a group I can assign this guest to, to limit its read access to its own home directory? I've read about Pessulus (I use Gnome), but that seems to be geared toward limiting access to applications, not directories.

Ideally, I'd like to create a group that cannot navigate through any files except its own home directory. But it seems that if I try to do that, the guest user will not be able to execute any applications. I've read all the posts (and other forums) I could find about creating such a limited account, but the chroot jail is beyond my understanding. I get the feeling that it's geared toward networks.

View 9 Replies View Related

OpenSUSE Install :: Using An SSD But Keeping Home Directory On Hard Drive?

Jun 14, 2011

I have a dual boot windows XP/OpenSuse 11.3 system running from a hard drive. They are both 32 bit in spite of the fact that the system can run 64 bit.

I would like to upgrade to Windows 7 64 bit (the wife insists, not yet a Linux possibility) and OpenSuse 11.4 64 bit, but having the programme files on an SSD for faster loading, with my data files on the existing hard drive.

I'm happy with the notion of getting the SSD going as a dual boot system. With Windows, as I understand it, it can tell it fairly easily where to look for the "my documents" folder on the hard drive.

However, the Home directory in Linux is not quite the same. How (if it's possible) could I run the SSD but use my existing Home directory on the hard drive?

View 9 Replies View Related

OpenSUSE Install :: Error When Converting HOME Directory To Encryption?

Jun 19, 2011

Using SUSE 11, I'm trying to change my existing login user id HOME directory to use encryption. I use YAST to do this, just by clicking the ENCRYPTION box inside the USER AND GROUP MANAGER tool.I receive this error message -- "Not enough disk space left to copy existing data".Which file system do I need to add space to?Here are the filesystem existing sizes --

Filesystem: / Size: 6g Used: 3g
Filesystem: /home Size: 1.8g Used: 65m

View 4 Replies View Related

Ubuntu Servers :: Setting Apache DocRoot To Folder In Home Directory

Jan 9, 2010

Vanilla install of Karmic (64 bit) - would like to change the Apache doc root to point to /home/sam/www as it's my web development machine. (Default install is working fine)
Created copy of 'default' to 'mylocal' in '/etc/apache2/sites-available'

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/sam/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/sam/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
...

The permissions on the folder in my home dir:
Code:
sam@rocket:~$ ls -la ww*
total 16
drwxrwxrwx 2 sam sam 4096 2010-01-09 22:26 .
drwx------ 35 sam sam 12288 2010-01-09 22:11 ..
-rwxrwxrwx 1 sam sam 100 2010-01-09 22:27 index.html
sam@rocket:~$ pwd
/home/sam
sam@rocket:~$
The sites enabled set up:

Code:
root@rocket:/etc/apache2# ls -la sites-enabled/
total 8
drwxr-xr-x 2 root root 4096 2010-01-09 22:24 .
drwxr-xr-x 7 root root 4096 2009-12-20 00:22 ..
lrwxrwxrwx 1 root root 26 2010-01-09 22:24 mylocal -> ../sites-available/mylocal
But I still get:
"Forbidden
You don't have permission to access / on this server".

View 8 Replies View Related







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