Help answer threads with 0 replies.
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-12-2013, 07:10 AM   #1
LQ Newbie
Registered: Jul 2013
Posts: 5

Rep: Reputation: Disabled
could not chdir to /home/sinakekele

i have just created a new user with the useradd command and when i try to the command ssh it gives me could not chdir to home directory /home/sinakekele: no such file or directory, plse help i am a new linux user and my operating system is opensuse12
Old 07-12-2013, 07:21 AM   #2
Captain Pinkeye
Registered: Oct 2012
Location: The Czech Republic
Posts: 280

Rep: Reputation: 97
Maybe it doesn't exist (if you 'ls /home' you should see it), did you create it with the -m option? Look into man useradd for details.

I think 'usermod -m -d /home/sinakekele $YOURNAME' should do the trick.
Old 07-12-2013, 08:09 AM   #3
LQ Newbie
Registered: Jul 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled

true i ddnt exist yet i thought useradd automatically creates the /home/username and i have since created it but now it gives another error when i try to logon to the server using the username and it says "could not update ICEauthority file /home/sinakekele/.ICEauthority"


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
[SOLVED] NIS Client error: Could not chdir to home directory /home/chacha: No such file or dir gauravgoel1989 Linux - Server 8 09-20-2013 04:42 PM
Could not chdir to home directory vignesh_murali2003 Linux - Newbie 6 06-09-2013 09:04 PM
[SOLVED] 'Could not chdir to home directory /home/[user]: Permission denied' arashi256 Linux - Newbie 25 11-11-2011 09:29 AM
can't chdir /export/home/user/ perky.nishi Linux - Newbie 5 08-23-2010 12:37 AM
NFS problem: "Could not chdir to home directory /home/USER: Permission denied" sumanc Linux - Server 4 07-22-2010 04:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:55 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