Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-10-2009, 10:23 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Bad: "Help Me!!" - "URGENT"


This is the first time I am posting a thread in this forum. Well I am Pankj from India and I am working as systems administrator with an IT company. Here we use both platforms Linux and Windows. But, our main servers are on linux (centos).

Today I was moving couple of files from my user in domain. By mistake I moved the entire folder from /home to another user. Now when I am retrying to access my user I am getting this following error message:
"login as: pmukherjee
pmukherjee@'s password:
Last login: Fri Jul 10 17:27:45 2009 from
Could not chdir to home directory /home/pmukherjee: No such file or directory
-bash-3.1$ Could not chdir to home directory /home/pmukherjee: No such file or directory
-bash: Could: command not found
-bash-3.1$ -bash-3.1$"

I shall be grateful if somebody can help me to come out of this problem.

Thanks & Best Regards

P.S. My email id is

Last edited by pankajm; 07-10-2009 at 10:24 AM. Reason: Skipped something
Old 07-10-2009, 10:27 AM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Did you move the user's folder back to the original place?
Old 07-10-2009, 10:43 AM   #3
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
You should put a meaningful title to your thread. People are here to help and it is not necessary to put it in the title.
Does /home/pmukherjee still exist indeed? Did you move it? You should not move your home and if you do, you should modify the path in /etc/passwd as well.
Old 07-10-2009, 11:34 AM   #4
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Rep: Reputation: 16
if you have root access, then check the your home directory. I guess, your home directory was delete. so you need to create that directory. I mention the command on below.

#usermod -m <username>

I hope it will help you.

1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 02:19 AM
Do you view uninformative thread subjects like "urgent", "please help", etc. bigrigdriver General 17 02-21-2008 02:08 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 08:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 09:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration