cancel
Showing results for 
Search instead for 
Did you mean: 

NIS Auto Home Question

Rob Sandifer58
Frequent Advisor

NIS Auto Home Question

How do I figure out which server a nis home directory is physically located?

Thanks!

Rob S.
Rob Sandifer
3 REPLIES
S. Ney
Trusted Contributor

Re: NIS Auto Home Question

Do you mean nfs or cifs instead of nis?

Otherwise:
ypwhich (shows which server client is bound to)
domainname (what domain am I a member of)
Rob Sandifer58
Frequent Advisor

Re: NIS Auto Home Question

I found the answer:

ypcat -k auto.home | grep userid

Rob Sandifer
Dennis Handly
Acclaimed Contributor

Re: NIS Auto Home Question

Using bdf(1m) should work too:
bdf ~userid