Operating System - HP-UX
1848860 Members
8315 Online
104038 Solutions
New Discussion

hp-ux 11.00 connecting to nis master on linux

 
Heiner E. Lennackers
Respected Contributor

hp-ux 11.00 connecting to nis master on linux

Hi,

i am trying to setup a linux nis master for our hp-ux workstations. Everything runs fine, but i get major problems when i try to use password aging.
The linux nis always want to save the aging infomations in a shadow file, but the hp-ux clients do not support them. How can i configure the linux nis to accept and handle hp-ux style aging informations (inside the passwd file as extension to the password string? (BSD style))

Heiner
if this makes any sense to you, you have a BIG problem
3 REPLIES 3
S.K. Chan
Honored Contributor

Re: hp-ux 11.00 connecting to nis master on linux

I always thought the reverse would be a problem (ie if your NIS master=hpux ; NIS client=linux) as far as password aging is concern. I don't think you can change the way Linux implement its shadow password. Take a look at a short technical notes that kindda touch on this subject/issues if you got your master password file provided by HP-UX NIS master. One of the recommendation is (ie number 3) is to setup your NIS master on Linux whcih is what you've done.

http://www.hp.com/workstations/support/documentation/technotes/linux/networking.html
Heiner E. Lennackers
Respected Contributor

Re: hp-ux 11.00 connecting to nis master on linux

Hi,

the linux nis can handle passwd and shadow and is able to build is single passwd-map with the password in it. Then systems which does not handle shadow password can be clients of a linux nis server. But this routine ignores the aging information inside the shadow file.
If i doe snot use the shadow file and put all the password informations inside the passwd file itself it will also run fine, even if i add the bsd-style aging inforamations. But if a user changes his password the aging infos will be removed.

Heiner
if this makes any sense to you, you have a BIG problem
Heiner E. Lennackers
Respected Contributor

Re: hp-ux 11.00 connecting to nis master on linux

Hi,

i just patched the yphelper to generate bsd-style password aging strings into the nismap. This should solve it.

Heiner
if this makes any sense to you, you have a BIG problem