Operating System - Linux
1830207 Members
1381 Online
109999 Solutions
New Discussion

Re: NIS configuration problem

 
P M Prabu
Occasional Advisor

NIS configuration problem

i am facing a problem in REDHAT EL 3.0

the problem is i configured a NIS server & client

the server configration completed without any error

but if i am logging through client
it is comming with an error

"No directory /home/!
logging in with home= "/"
-bash-2.05 b $" ------>comes to the prompt
it is not going to the home directory

help me to sort-out this issue




7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: NIS configuration problem

Check the permissions on the folder /home/

The user needs to have permission to enter the directory.

Also, make sure the user is not duplicated in /etc/passwd and other file based security files on the client NIS server.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dave Falloon
Trusted Contributor

Re: NIS configuration problem

Are you automounting users home directories from an NFS server?

If not the users home directory must exist on every machine they try to log in to.

--Dave
Clothes make the man, Naked people have little to no effect on society
HTaghavi
Occasional Contributor

Re: NIS configuration problem

have you checked to see if you have access to /home/? Is it possibly a directory which is supposed to be mounted statically or automatically which isn't?
Alexander Chuzhoy
Honored Contributor

Re: NIS configuration problem

What you have to do is:
share /home on NIS server with NFS.
Edit the file /etc/auto.master and append this line to it:
/home /etc/auto.home

Then create /etc/auto.home and place this line in it:
* intr,soft,rw nisservername:/home/&

after that restart the autofs service:
service autofs restart

and it should work.
Deepak Kulkarni
Regular Advisor

Re: NIS configuration problem

Hi Prabhu,

It seems user home directory is not created.
If it is automounted form another server, then follow as alexander told. Or else manually create the home directory, then give the proper
permission for the folder. It happens when NIS user is added in automount environment by using
sam.

Cheers
Deepak
P M Prabu
Occasional Advisor

Re: NIS configuration problem

hai thaks all

thare was a problem in automount only

now it is working fine

thanks for u r valuable replies
P M Prabu
Occasional Advisor

Re: NIS configuration problem

as permentioned above the problem is solved

Regards
Prabu