Operating System - HP-UX
1758159 Members
3009 Online
108868 Solutions
New Discussion юеВ

NIS client-- different home dirs

 
SOLVED
Go to solution
Anil C. Sedha
Trusted Contributor

Re: NIS client-- different home dirs

Mike,

Simple solution.

Since you have NIS working fine..

In your master server, /home/u->/home/newsystem/users

If you didn't understand what i tried to say above - Make a link in your home directory to point to the new home directory on the other server from your master server in a seperate directory. This way, the user will have the home directory on the other server instead of the master server.

Where u -> will be user name.

If you get it great, if you don't let me know.

Regards,
Anil (Don't forget the points if this helps you)
If you need to learn, now is the best opportunity
Donald Kok
Respected Contributor

Re: NIS client-- different home dirs

Hi Mike,

So you want to have the same uid/passwd on all unix machines. If these users are also on an Windows domain, you can use the NTLM-pam module. This way your passwords are checked by the paswordserver on the NT/2000 domain.

I did this, and I never have to bother about the passwords again. Info found f.i. on http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8724-90011/B8724-90011_top.html&con=/hpux/onlinedocs/B8724-90011/00/00/35-con.html&toc=/hpux/onlinedocs/B8724-90011/00/00/35-toc.html&searchterms=pam&queryid=20020624-023645

Goodluck
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
Mike King_7
Advisor

Re: NIS client-- different home dirs

Thanks, Clay.
I tried what you suggested with the nsswitch.conf file and all works as I wish.