Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Debian-NIS No Directory! logging with HOME=/

Posted on 2003-11-15
Medium Priority
Last Modified: 2007-12-19
Hi all,

I have a NIS server on debian 2.4.19. There are lots of users getting proper access to NIS. I have created new users, when those try to login they are able to log in but getting message
No Directory! logging with HOME=/

Users home directories are on Solaris server. I have made correct entry of users home directories in/etc/dfs/dfstab as the previous one and shared those directories . Ownershiop of the directories are also correct. (belongs to the users )

On nis master and all the hosts updated the /etc/auto.home with new users.

I am get stuck at this point, can anybody help me?


Question by:amit_atharkar
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1

Expert Comment

ID: 9753503

Try mounting a home directory on a machine that gives you the problem, if you get permission denied, then the problem is on the
nfs server (directories are not exported, or not exported correctly -- (exportfs -v) shows exported dirs).

If you can mount the dir, then the problem is automounter. -- try reloading it (kill -HUP ...)
LVL 40

Expert Comment

ID: 9754386
What is the user's home dir in the output of ypcat? Does that match what's defined in a ypcat of auto.home?

Author Comment

ID: 9764009
Thanks Tack & Jlevie
I can manually mount the directories with mount. but the automounter is not able to mount it.
users home dir permissions are

drwxr-xr-x   6 rmane    users        512 Nov 14 10:22  rmane

The output of ypcat passwd  gives the hor dir as /home/rmane
mt auto.master is
/home           /etc/auto.home
and /etc/auto.home is
rmane          10..4.0.74:/export/home3/rmane

I want to ask you a simple question, if i restarted autofs service, does it affects the already logged in users.

What is going wrong i still could not understand

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Expert Comment

ID: 9764056

> and /etc/auto.home is
> rmane          10..4.0.74:/export/home3/rmane

10..4.0.74  --- could be the problem ?

Usually autofs reloads config as it changes.

Before restarting autofs, make sure that your config is 100% correct;

No, logged in users are not affected by autofs restart.
LVL 40

Expert Comment

ID: 9764871
Did you do your 'ypcat auto.home' & 'ypcat passwd' on both the server and the client? Do you see the same thing on both the server and the client?

Author Comment

ID: 9844783
Sorry friends a little typo mistake ... i forgot one collon from the user entry in passwd file. So silly and i tried all the way to make it possible...
I didnot look at passwd file carefully becoz usually i don't make such mistakes.
But that time was horrible for me...

Thanks for yor posts.


Accepted Solution

DarthMod earned 0 total points
ID: 14141096
Submitted to PAQ with points refunded (200)

Community Support Moderator

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question