Fedora :: Moved Home Directory And Cannot Login

Oct 26, 2009

I've made a LAMP install and used it as a test server connected to my Mac. Good. I managed to get Dreamweaver to work with the server and had access to the home folder from my Mac. The bad part is when I was setting up the permissions for my Mac to connect, I gave it too many rights and set /etc/exports with "no_root_squash" option. This allowed me to change permissions in my home folder from the Mac! That was really cool. The trouble started when I tried to get too clever about managing my F11 test server.

The permission change on the F11 box from the Mac created a new user 501. All the home files had this new user, 501, and a new group 501. I manually edited the /etc/passwd file giving this new PID a meaningful name, rXtian, and set its group to Xtian from the original user. Just to make myself feel really clever, I read in my "F11 Bible" that a "portable desktop" would make it easier to manage log in from different machines. I created a new home directory and CP'n the content from:

/home/Xtian
to
/home/xtiansimonsibm/Xtian (with -rw-r--r-- rXtian Xtian)

What I mean to say is I deleted the old /home/Xtian directory for reasons I do not know. Thats when all the trouble started. I can't login to either user, rXtian or Xtian. I can only get on as root. I tried to start over by creating a third user with ADDUSER including the base set of user files. I renamed home/xtiansimonsibm/rXtian. I can't log in to either. I used PASSWD command changing Xtian and rXtian's loginpass, but neither password has taken. I still have the test server working, but I can't login to the home folder anymore. What can I do? Any tutorial or checklist for repairinig the user permissions, passwords?

View 2 Replies


ADVERTISEMENT

Ubuntu Installation :: Home Directory Moved After Reinstall

Mar 5, 2010

I have been out of the Linux loop for a while. Prior to the holidays I did something 'stupid' within Wine and ended up taking out my Ubuntu partition to the point where it wouldn't boot. Being that I have a triple boot system and I had plans for the holidays, I didn't want to risk a reinstall in the event that if something went wrong with Grub, it would render my whole system useless. So I waited until now to reinstall Ubuntu. I performed the reinstall this past weekend and for the most part I thought everything went fine, but I noticed something was different with the file system.

When I attempted to load a 3.5gig program into Ubuntu yesterday, I got an error message saying that I don't have enough disk space. I said to my self, "That is impossible as I have a 106gig partition for programs". I have a separated system in which Ubuntu /root has an 8gig partition and the Home partition supposed to be the 106gig drive. I did this in the event I had to reinstall, I wouldn't loose my information. Well apparently something went wrong with the install and it appears that I have two Home folders...one is on the 106gig drive and the other is in the root directory.

Making note of that explained why my program wouldn't load because the root partition is only 8gig. So, my question is this: Can I set Ubuntu back to the old Home directory, or do I have to reinstall once again? As what under my avatar says, I am on Ubuntu Studio 8.04 (Hardy Heron). I stuck with this older version because it has long term support. I have a triple boot system with Windows XP, Puppy Linux, and Ubuntu Studio. I have two SATA 500gig drives with the first drive being home to all the operating systems and programs. The second drive is just for data.

Here is my fdisk -l I put the partitions usage in parenthesis:
geo@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cf364 .....

View 7 Replies View Related

Fedora :: Vsftp Installation - Login As Root And Have Access To '/' As Home Directory

Feb 1, 2011

1. yum install vsftpd
2. service vsftpd start [ok]
3. nmap from outside verifies tcp 21 is open for business
4. ftp myipaddress.com results in login failed for user root.

I want to login as root and have access to '/' as my home directory. What do I have to do to get this to work?

View 2 Replies View Related

Fedora :: Moved /home To A Seperate Partition, Now Terminal Logs In At?

Oct 4, 2009

I recently moved /home to a seperate partition. Everything works fine except that when I open a terminal it starts me off in / instead of /home/user

View 4 Replies View Related

Fedora :: Deleted Downloads Directory Or Moved It

Nov 12, 2009

I was trying to install a program and then I tried to mv comman (which I probably did wrong) but to make it short I am pretty sure I deleted the directory. I made another Downloads directory using mkdir but whenever I download anything now I have no idea where it goes.

View 4 Replies View Related

Debian Configuration :: Mounting Home Directory On Login Only?

Mar 9, 2011

I have one of my user's home directory on a seperate partition, and I was wondering if there was a way to only mount it when/if the user is logged in and unmount it if they log out.

View 1 Replies View Related

Ubuntu :: Home Directory Not Decrypting On Login - 10.04 Ecryptfs?

Oct 11, 2010

Ubuntu 10.04 LTS Ran some updates,finally got around to rebooting. When I rebooted, It came up with Some errors about missing files. Came to discover my home directory was not decrypted. I simply had a readme file that said to run "encryptfs-mount-private". When I do it doesn't tell me the passphrase is incorrect, it tells me

Code:

Inserted auth tok with sig [xxxxxxxxxx] into the user session keyring You do not own that encrypted directory and I do own it. If I put in a different pass it tells me it's incorrect, I'm logging in fine, but my home directory is remaining encrypted.

View 9 Replies View Related

Ubuntu :: Unable To Login (home Directory Does Not Exist)

Nov 8, 2010

I just recently bought a second hand netbook (HP Mini Mi 110) from ebay which use linux ubuntu as OS. I changed the previous username to mine but when i tried to login again...this warning pop out "your home directory is listed as: '/home/mazlin' but it does not appear to exist. Do you want to log in with the /(root) directory as you home directory? It is unlikely anything will work unless you use a failsafe session" so i click yes. then...

user's $HOME/.drmc file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permissions. user's $HOME directory must be owned by user and not writable by other users. next i click OK, then... your session only lasted less than 10 seconds. if you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. try logging in with one of the failsafe sessions to see if you can fix this problem. when i click ok, the login screen reappear again... how to use failsafe sessions.

View 7 Replies View Related

General :: Can't Login Due To Created User Without Creating A Home Directory?

Apr 29, 2010

This may be a rookie mistake, but I created a user (new user) in Linux on a Ubuntu system and didn't actually create the home directory for this user. Now, when I log in, it says there are problems... If I delete the path home/<new user> and try to log in the system tells me I can use root as home directory but I will likely experience problems, and then it won't let me log in. What is the best way to create this directory with the appropriate permissions? Should I just create another user and delete this one?

View 1 Replies View Related

Ubuntu Networking :: Share Home Directory And Both Systems Have The Same Login Id

Mar 7, 2010

I got 9.10 on by laptop and xp on other computer. Installed samba server and xp recognized my laptop but not anything I share on ubuntu. am i missing something in samba config file? Im trying to share home directory on ubuntu and both systems have the same login id.

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

Debian :: Setup A Script To Automatically Decrypt Home Directory On Login?

Mar 5, 2011

Other than my encrypted home directory, I am all set to switch from ubuntu to Debian.Is it sufficient to install ecryptfs-utils or do I need to setup a script or something similar for it to automatically decrypt my home directory on login?

View 4 Replies View Related

Ubuntu :: Remove Panel Configuration In Home Directory - Logout And Login

May 22, 2010

I've just made a fresh install of Ubuntu 10.04. When I right-click a panel and choose "New Panel", the panel is made, but is not visible. The panel is placed on the left side of the screen, and icons on the desktop is moved to the right. Also windows does not use the full width of the screen when maximized. I've tried to remove the panel configuration in my home directory, logout and login, installing ATI drivers and running a gnome-panel command (from another post on ubuntu forums), but nothing works.

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

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 :: Moved /home And Now Cannot Start?

May 16, 2011

ubuntu 10.04 Easy Peasy eeepc 900I have messed up my home directory and can not get out of the messI wanted to move the /home to be on the 16gb partition instead of the default which was on the 4gb with the installation. I copied/saved /home to a temporary directory and then moved the contents of /home to the 16gb disk and mounted it on /home At this stage all seemed to be working correctly and applications worked as before. However when I rebooted it can not find my home directory, complains a lot, and if you bypass the messages ends up with a minimal GUI screen which does not respond to anything I tried. It seems that the 16gb disk is not being mounted.

View 4 Replies View Related

General :: Set Default Permissions For Files Moved Or Copied To A Directory?

Jan 25, 2011

How to set the default file permissions on ALL newly created files in linux - but differs in important ways:

I want all files created in (or copied to or moved to) a certain directory to inherit a set of default permissions that is different from the system default.

Rationale: The directory in question is the "intake hopper" for an application. Users in a group place files in the directory, and the app (running under another user id in the same group) takes them and processes them. The problem is that the owner of each file placed in the directory is the user that placed it there, and the permissions are defaulting to "rw-r--r--"; I want to change that to "rw-rw----". The app doing the intake can't do that explicitly, because the user id the app is running under doesn't own the file in question, and the default permissions don't allow the app to chmod on the file! Obviously, the user could do a chmod after putting the file there - but I want to keep the "drop" by the user as simple as possible. (These folks are not linux-literate, they just drag and drop the files from their windows desktop to a (Samba) network share - i.e. they don't even know they are interacting with a linux system.)

umask seems too powerful: I don't want to set default permissions for every file created anywhere by these users - just those created in (or placed in) this directory.

View 3 Replies View Related

General :: Moved To Ssd - Booting - Won't Make The Root Directory On The Right Disk

May 8, 2011

I have successfully migrated my linux install to a new /, /home, /boot partition on my ssd. Everything works fine, except that it won't make the root directory on the right disk. When I change the root=uuid=<drive id> to my new drive everything is fine, but I can't automate that... in other words I have manually typed the uuid of my root-partition for about 100 times now and I am fed up with that how I can save the uuid of my new drive in the startup parameters?

View 2 Replies View Related

Fedora :: Can't Enter Home Directory Using /

Jul 24, 2009

When i try and log in with my user it is giving me an error I have removed gnome from the computer and put kde as my desktop I can login with root can't enter home directory using / is the error

View 14 Replies View Related

Fedora :: Cannot Enter Home Directory Using /

Jul 29, 2009

I use ext4 for the lvm2 home partition on Fedora 11. Yesterday, I must shrink my home partition and the operation crashed. Then a new ext4 partition becomes a backup "cp -R /mnt/backup/* /home" + chown + chgrp and boot Fedora again.

The login failed and the message of Fedora is "Cannot enter home directory. Using /."

What is the problem?

View 12 Replies View Related

Fedora :: Set My .bash Home Directory?

Nov 29, 2009

Every time I start a terminal it defaults to my Documents directory and I would prefer it default to my /home/thisuser directory instead. Anyone know how to set that? I tried looking in .bash_profile and didn't see anything. Nor did the man page have anything that seemed like what I was trying to do...

View 14 Replies View Related

Fedora :: F14: Cannot Enter Home Directory Using /

Nov 24, 2010

I've installed F14 to replace another distribution on my PC. I chose to use KDE. I used to have a separate partition for my user home to be mounted as /home. During the installation I instructed the installer to do so (without formatting of course). At the first boot I created a use with the very same name as I used to have. I got the warning about the home being already there and I said "yes, convert that ownership and selinux stuff so I can use that very directory as my home". At the graphical login I get a dialog saying I cannot enter my home and that it will use / instead. Of course the login process fails. If I switch to the character console (CTRL-ALT-F2) and do a login I actually get the very same error. But, if I hit "cd" (change directory to $HOME), then I get in the proper directory.

Update 1. I guessed it was a SELinux problem. And I manually disabled it into /etc/selinux/config. Now I'd like to fix this issue, because I'd like to have SELinux working.

View 8 Replies View Related

Fedora :: Allow CGI Execution From Home Directory On 15

Aug 27, 2011

I have been trying to get my development box up and running and I decided to do some CGI work in Perl and I am getting a 500 error on Apache 2. I have checked all the perl settings and the script runs fine on the CLI. I am simply passing a textfield from a HTML form to Perl. I was using the standard CGI.pm calls but I modified the script just to use print statements to make the output page. The script has one textfield in it, as it was just supposed to test the CGI.

I have the UserDir directive active for my user and I did some modifications to allow CGI execution from my home directory /public_html/cgi-bin/. the script will not run from the main /var/www/cgi-bin directory either,that also returns a 500 error. the permissions are 755 on both copies of the script in the cgi-bin directories.

View 3 Replies View Related

Red Hat / Fedora :: Missing Home Directory?

Mar 16, 2010

Supposedly, the person who used to manage the server set up an admin account before they left, but when I try to log in to it I get the error:Your home directory is listed as:'/home/username'but it does not appear to exist. Do you want to log in with the / (root) directory as your home directory?It is unlikely anything will work unless you use a failsafe session. I've browsed a couple other topics with similar problems and tried some of what was suggested, but I haven't gotten anywhere.

View 9 Replies View Related

Fedora :: Synchronize Home Directory With USB Sticks?

Nov 17, 2009

I used to use Unison to synchronize files between various Unix/Linux computers. I've an USB stick onto which i put files I've to keep with me (when I work outside home). When I get back home I'll like to synchronize with my laptop running Fedora 11. If the file is on the usb stick no problem, it gets copied onto my home directory and everything is fine.

But if the file has to go onto the stick, Unison complains it can't set the file's permission (of course, on a Vfat file system) and refuse to copy it. Question : Do you know a way to avoid setting irrelevant permissions on a file with Unison or an other utility of this kind ?

View 1 Replies View Related

Fedora :: F12 Gnome Files In Home Directory

Dec 21, 2009

When I login to GNOME I see all the files in my home directory on the desktop. Is there a way to turn that off ?

View 4 Replies View Related

Fedora :: Installing Fonts In Home Directory On F12?

Jan 17, 2010

but something a lot of folks may not be aware of -- you don't have to go messing around over in /usr/share/fonts anymore if you've got a single-user type machine and just want some fonts for your personal desktop.Since I wipe most partitions when I upgrade (/home is on a separate one) this makes the fonts stay with my login. This is GNOME specific, I do believe KDE has a control panel to install fonts.

Obtain the TTF font(s) youd like to use; Ill use the custom Monaco Linux font as an example.

[Code]...

View 5 Replies View Related

Fedora :: How To Reinstall F12 Without Wiping Out Home Directory

Mar 18, 2010

I'm having trouble since I installed the newest kernel update. I only have one desktop. I unistalled compiz. Then I get the message 'you don't appear to have a window manager installed' I reinstalled compiz, but it gives me a misty screen, with the cube desktop. How do I set compiz to a default setting? Plain and simple? Where is the config file? This may have started when I clicked a box 'enable indirect rendering' just to see what happened. I have an nvidia 9200 card on an Asus laptop.Failing that, how do I reinstall Fed 12 without wiping out my home directory?

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

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







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