Ubuntu :: Changing Home Directory Location

Apr 7, 2011

I have a dual-boot win7 and Ubuntu 10.10 and I want Ubuntu to use my windows user folder as home. I edited fstab to give me ownership and mount it to /mnt/Windows at startup but whenever I change the location of home in the Users and Groups it acts like it is changing it but it never does. I close the settings and when I re-open it, it is set back to /home/me.

View 5 Replies


ADVERTISEMENT

Debian :: Changing File Download Location To Home Directory

Feb 1, 2009

I tried to download Knoppix 6.0 iso, but it ran out of storage space. It was placing it into /tmp. Is there a way that I could have it placed in my /home directory, which is plenty big?

edhe@hebrews:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 935M 256M 632M 29% /
tmpfs 470M 0 470M 0% /lib/init/rw
udev 10M 96K 10M 1% /dev
tmpfs 470M 0 470M 0% /dev/shm
/dev/sda9 356G 1.5G 337G 1% /home
/dev/sda8 373M 11M 343M 3% /tmp
/dev/sda5 4.6G 4.0G 383M 92% /usr
/dev/sda6 2.8G 341M 2.3G 13% /var

View 4 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 :: Move The /home Directory To A Different Location?

Jun 29, 2010

I would like to move the /home directory to a different location, there only seem to be guides on how to move it to it's own partition.

I have a drive (/dev/sda5) mounted as /media/data

I would like to move /home to /media/data/home?

I have tried usermod but get the following error:

Code:
test@TestServer:/media/data$ sudo mkdir /media/data/home
test@TestServer:/media/data$ ls
home lost+found
test@TestServer:/media/data$ sudo usermod -dm /media/data/home
usermod: user '/media/data/home' does not exist

View 2 Replies View Related

General :: Zip De Home Directory To A Location?

Apr 25, 2010

I have to zip de home directory to a location but i can't seem to get it done.

I have succeeded to zip a folder within the home folder (Music folder) but when i try to zip the entire home folder i get an error. I have tried different ways but no success so far.

This is what i tried so far:

1) tar cf backup_homedir.tgz ../

2) tar cf backup_homedir.tgz /home/indur

Error message: ( i hope i translate it well because my language isn't english, so the message isn't as well) tar: backup_homedir.tgz: Function open () failed: access denied tar: unrecoverable error -- tar is closing

Extra info

I am in GUI mode and i'm not logged in as root

View 3 Replies View Related

General :: Change My Home Directory Location To Something Else?

Aug 5, 2010

I have noticed that on a Mac which is Unix based too there is a different home directory which is NOT /home/user/ but /Users/user. How can I change my home directory in linux to something else? Even as an experiment? Is it possible? and how?

I'm using Ubuntu 10.04 GNOME

View 6 Replies View Related

Ubuntu Servers :: Samba Home Directory Sharing In Different Location?

Sep 29, 2010

I have 10.04 and have samba running.

Samba is remotely administered with webmin and aim to setup home directory sharing. I am however having some trouble getting this to work.

I was of the understanding that home directory sharing allows me to create a user in ubuntu, which samba will then pickup and offer it up as a share.

My smb.conf looks like this..

Code:
#======================= Global Settings =======================
[global]
unix extensions = no
share modes = no
security = user

[Code]....

Essentially I've found this works providing I give the samba user a password after it is automatically created using the 'Configure automatic Unix and Samba user synchronisation' option in webmin.

However if I move the location of this home folder off the main drive i.e. /home/username I get turned away at attempted login.

I've tried specifying the path in [homes] using the path = /media/discarray, but this seems to break authentication somehow.

View 2 Replies View Related

Ubuntu :: Changing The Username And Home Directory?

May 27, 2010

People usually suggest workarounds to do this, as it's not possible with usermod while the user is logged in. Did I overlook anything or is this method not preferable over creating a new account, setting the user permissions, then moving the files and messing with the file permissions? Using the right tool for the job would seem to be less error-prone to me. 1. Activate the root account by setting a password.

Code:
sudo passwd
2. Log out and log into the root account.
3. Change the username and home directory from user1 to user2. This will also move the files to the new home directory and rename the group to user2.
Code:
usermod -l user2 -d /home/user2 -m user1

[Code]...

View 3 Replies View Related

Fedora :: 12 SELinux Context Not Updated When Changing User's Home Directory

Feb 15, 2010

I was setting up a Samba server and I ran into some problems with SELinux related to the context of the home directories. I made a user account, say "UserAccount", with a default home directory "home/UserAccount". Afterwards I realized that I needed to move the home directory of this particular user to another location, say "/home2/UserAccount". So I created the new directory, changed the permissions, and used Gnome's system-config-user to change the user's home directory.

I then set-up the Samba server, activated samba_run_unconfined and samba_enable_home_dirs in SELinux, and made an account for UserAccount. When testing the Samba account for UserAccount SELinux denied read access. I checked the context and the new home directory did not appeared to have been updated. I had to manually run:

restorecon -R -v /home2/UserAccount

to set the context on the new home directory. I'm not very familiar with SELinux, so my question is this: is this normal security policy or is a bug in the system-config-user tool? If it's normal policy can someone explain why? I'm always ready to learn Distro: Fedora 12 (kernel: 2.6.31.5-127.fc12.i686) System: Dual Intel Xeon @ 3.2 GHz, 1 GB RAM

View 4 Replies View Related

Security :: Changing Home Directory Permission In User Management After User Created In Suse(KDE)?

Feb 2, 2011

created a user but i forgot to change the home directory permission.so after user created when i go to the user and group mangement i cant see that permission filed related to the home permission directory.my purpose is to stop accessing other user to my home directory,how it can be possible??

View 4 Replies View Related

Ubuntu :: Changing Location Of Launcher?

May 10, 2011

Under Natty Narwhal, Launcher is introduced with Unity desktop. Is there any way to change the location of this Launcher?

View 4 Replies View Related

OpenSUSE Install :: Changing Bootloader Location ?

Aug 6, 2011

Because I had Windows installed first, the bootloader was located in that drives master boot record and the openSUSE drive was slaved to it. Now that Windows is gone and the Linux drive is bigger and faster (although the same Ide (pata) ata rating. There are no sata devices in my system.) I want to reverse the master slave relationship between those two drives and put the bootloader on the openSUSE drive.

At the moment a single instance of openSUSE 11.4 is the only operating system installed on the computer I'm talking about.

What procedure should follow to accomplish that?

View 9 Replies View Related

Server :: Changing The Password Of Directory Manager In Redhat Directory Services

Jul 14, 2010

How to change the password of Directory Manager in RED HAT Directory Services through a ldapclient through command line or graphical.

View 1 Replies View Related

OpenSUSE :: Changing Wine Location - Unable To Run The Command Specified ?

Jun 17, 2011

I have installed and reinstalled wine about 3 times now, and the installation thinks the wine path for the "C:" drive is in my Documents folder.

I am using OpenSUSE 11.4.

This is the error I get:

Unable to run the command specified. The file or folder file:///home/jonathan/Documents/.wine/dosdevices/c: does not exist.

Is there a way I can change this to another directory?

Also, when I look at the directories under ".wine", I see this:

Code:

View 9 Replies View Related

Ubuntu :: Home Folder Icons Don't Update When Change The Home Directory

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

Ubuntu Servers :: Set Home Directory Path Different From LDAP's Home?

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

Ubuntu :: Default Home Folder Location?

Jul 11, 2010

I was just wondering , when you create a new user , where are the files that make it ? , like the "default" home folder?

View 7 Replies View Related

Ubuntu :: Change Home Folder Location?

Aug 17, 2010

As a precaution to protect my home folder contents when I reninstall ubuntu if need arises I intend to change my home folder location to a mounted ntfs partition in my HDD. How can I do it the GUI way? Like in windows the "My Documents" location can be changed by going to "My Document" properties and entering the new location.

View 2 Replies View Related

Ubuntu Security :: HOME - /bin Location In PATH ?

Dec 1, 2010

I installed Ubuntu 10.04 only be dismayed to find ${HOME}/bin FIRST IN THE PATH. I blogged about it at my blog (I sudo an xterm rather than just sudoing to get a different background for the sudo'd xterm): [url]

I agree that some new user should probably not be logging on as root. But if the replacement for 'ls' is in their ${HOME}/bin/ the sudo'd shell inherits the same PATH, umask, and everything else! In general I take a dim view of a sudo only way of doing things. It seems to cause more problems than it solves for disciplined, knowledgeable users. In the case of Ubuntu it caused me to create a /root folder for root to reset the umask back from 077 which is what I use over to 022 which is what root should use. The /root/.profile of course made sure there is no /home/me/bin in the sudo'd PATH. It didn't matter because somebody is not just SETTING the file perms and is instead calculating them based off of modifications to the umask. JUST SET THEM! I ran into a problem with GRUB getting things fouled up because I was having to remove the new kernels and instead of using the command line option (much prefereable) used Synaptic Manager instead: [url]

In fhe case of an infection living in a user's file space you really should want to go in to clean it out as some other user than the user that is infected. Having said that the hackers seem to be going for the whole enchilada right off the bat. A WARNING is in order here. DO NOT USE A ROOT ACCOUNT OR SUDO FOR NORMAL TASKS! But please put ${HOME}/bin last in the PATH or preferably don't even put it in the PATH at all. Let users add it themselves if they want it. Also once hackers figure out that hijacking a sudo tty (from what I just read else-where here I would say several hackers are working on doing that right now - sendmail my ****) is a dandy way of doing things you really will need to provide for ways of cleaning a user infestation out by going at it some other way than through that infected user. A lot of Ubuntu users have only one login account, the one they created when they set the machine up.

View 9 Replies View Related

Ubuntu :: Change 'Pictures' Location From /home To A NAS

Aug 22, 2011

I bought an LG NAS for pic's, videos, and music. Is there a way to turn the pictures folder in the NAS into the default location for when I select the Pictures folder in my home directory? Running Ubuntu 10.10 on IBM's: T41, T42, T62

View 9 Replies View Related

Fedora :: Using SSH - Could Not Chdir To Home Directory /home/adahaj: Permission Denied

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

General :: 'Could Not Chdir To Home Directory /home/[user]: Permission Denied'

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

General ::anything Special About Home Directory Before Users' Home Directories Are Stored There

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

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

Ubuntu :: Move Hidden Folder From /home To Another Location?

Nov 3, 2010

How to move hidden folder from /home to another location - on another partition? Is it possible? I'd like to move some folders for example ./thunderbird or so that I wouldn't need to make a backup. Or at least is it possible that program can right files to two folders, or that everything from /home./thunderbird would copy automatically to ./thunderbird on another partition every time there is a change? Is it possible to write a script or something? I use luckybackup but I would like to be able to forget about backups and make script or program to do it for me.

View 9 Replies View Related

Ubuntu :: Cannot Find Location: $HOME/.gnome2/nautilus-scripts/

Apr 4, 2011

I am trying to install google-docs-fs which entails copying a file into the following location: $HOME/.gnome2/nautilus-scripts/

I cannot find/do not know how to find the location.

View 7 Replies View Related

General :: How To Automount NIS Account's Home Dir To Different Location?

Jan 17, 2010

proposed mountpoint for NIS client home dir for 'user': /shared/home/user

auto mounting to /home/user works fine BUT if i want to automount to different location; it still looks for /home/user directory to mount to. So I get an error and i get directed to the '/' dir.
Is there someway for me to edit the passwd file that is being exported by the NIS server? because if I change the local passwd of the user in the NIS server then he wont be able to see his home dir when logging in locally. (although this does seem to be a good idea; since he wont need to login directly into the NIS server....)

View 3 Replies View Related

Red Hat :: How To Change Mount Point Location From / Home To / Backup?

May 27, 2009

I have a mount called on /home for /dev/sda12..I want to mount /dev/sda12 onto /backup..I tried to do this by changing things in the fstab file i.e. i replaced /home with /backup. This change caused boot up problems and I had to change my fstab file back to get going again.

View 2 Replies View Related

Ubuntu :: Places - Home Folder Opens Movie Player - Could Not Open Location

Feb 19, 2011

I was trying to view a dvd on ubuntu (which works on windows) so I downloaded a few progams from the synapatic manager and software center - nothing made the dvd work but now when I go to "places" and "home folder" movie player opens and has a error message window that is at least 10 deep that says "could not open location; you might not have permission to open file." I can't get to home folder at all!Did I totally ruin Ubuntu? Is this fixable? I rebooted and that didn't help

View 3 Replies View Related

Ubuntu Installation :: Location Of The Directory Of C Header Files?

Jan 4, 2011

I am running VMware inside windows 7 64bit.I have installed ubuntu 2.8 ultimate edition on a 20gb partition and used 1gb of ram....everything is updated etc and running good. I checked in the VMware tools bar the entity tab,and says tools is not installed.

So when i run the install everything goes well untill it reaches the point where it says "What is the location of the directory of C header files that match your running kernel?

I have tried everything,different tutorials,installed a build package etc and it still asks for the directory. here is the uname r output :
uname r : 2.6.35-24-generic

View 7 Replies View Related







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