1832592 Members
3204 Online
110043 Solutions
New Discussion

NFS & NIS Access problem

 
Jollyjet
Valued Contributor

NFS & NIS Access problem

Hi All

Nis primary and Secondary server is here from client we are using rlogin it is not taking the home directory path from nis it is logging in to the current directory itself and if im trying to give pwd im a getting a message like permission denied.it is not happening regularly some times i face this issue if a user is working now if he logs off and logging again he is facing this issue only for few users we are facing the issue if the user is trying to login from different machine at same time its happening. any one can help me in this case
5 REPLIES 5
V. Nyga
Honored Contributor

Re: NFS & NIS Access problem

Hi,

any differences if you use 'ypwhich' when this happens?
Are there differences between primary and secondary server?
Different user-id's?
Are this also local users or only nis users?

Volkmar
*** Say 'Thanks' with Kudos ***
Dave Olker
Neighborhood Moderator

Re: NFS & NIS Access problem

Hi,

It would help to use a specific example. Do you have a user account in this environment that demonstrates this problem every time? If so then let's focus on that one user and see if we can get it working.

On the NIS client system, I'd want to see the /etc/passwd file, the /etc/nsswitch.conf file, and the output from the following commands:

# ypcat -k passwd
# ypcat -k ypservers
# ypwhich -m

That would be the first round of data I'd need to see to troubleshoot the problem.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Craig Johnson_1
Regular Advisor

Re: NFS & NIS Access problem

My guess is that you have an error in the NIS passwd map. If you are modifying the maps it is likely the error is moving around causing the erratic behaviour you are seeing. Check the passwd file you are building the map from very carefully. Look for blank lines and spaces where there shouldn't be any.
Jollyjet
Valued Contributor

Re: NFS & NIS Access problem

HI,

It's a NPT Network time protocal error time is not synchronised properly with the server so the NIS is not communicating properly to the server.
Jollyjet
Valued Contributor

Re: NFS & NIS Access problem

hi things are fine thank's for the help