LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-12-2013, 07:10 AM   #1
mngubeni
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 sinakekele@mail01.uniswa.sz 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
Member
 
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
mngubeni
LQ Newbie
 
Registered: Jul 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Angry

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"
 
  


Reply


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


All times are GMT -5. The time now is 12:52 AM.

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