1836772 Members
2350 Online
110109 Solutions
New Discussion

about passwds

 
SOLVED
Go to solution
Stanimir
Trusted Contributor

about passwds

Hi!
Could anybody tells me what is your
best solution for using cluster with
2 mashines 10.20 or 11.00 for passwords.
When packages has moved between mashines
all users,who are working with these applications must use identical login:passwords
on both mashines to use its applications without login problems. What is your solutions?
Regards
7 REPLIES 7
BFA6
Respected Contributor
Solution

Re: about passwds

Hi,

We use rdist to copy across the passwd & group files, and home directories, plus any other files that need to be the same like /etc/hosts.

Regards,

Hilary
Carlos Fernandez Riera
Honored Contributor

Re: about passwds

NIS. See man passwd

unsupported
S.K. Chan
Honored Contributor

Re: about passwds

The basic NIS infrastructure is really not so difficult to setup. In the long run it's going to pay of in terms of ease of maintenance, administration time, etc, etc. It might be something to look at ..
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90043/B1031-90043_top.html&con=/hpux/onlinedocs/B1031-90043/00/00/16-con.html&toc=/hpux/onlinedocs/B1031-90043/00/00/16-toc.html&searchterms=NIS&queryid=20030225-014732
Robert-Jan Goossens
Honored Contributor

Re: about passwds

Yes, you should take a look at NIS network information services.

Robert-Jan.
monasingh_1
Trusted Contributor

Re: about passwds

In most of the cases application users are very dynamic and can very well be taken care of manually, and in fact to completely set the MCSG you will definitely need to set them on both machines.

You can always follow a policy to add the users to only one particular node and use a custom script to compare the non-system users and if found just add those on adaptiv node including their home dir IF NEEDED. If you copy home dir also then all variables in the profile or cshrc file will need to be dynamic depending on the host user is logging in.You can also try putting those user's home dir in the package itself.

But my preference will still be manual if I am not adding many number of users.
monasingh_1
Trusted Contributor

Re: about passwds

Sorry for mistype, I meant users are NOT very dynamic..
Stanimir
Trusted Contributor

Re: about passwds

Hi!
Thanks for all responces. I think NIS
is not so convenient for small 2-mashines-
cluster. I prefer Hilari's solution with
only except,that it don't support dynamically
changes every momnet. For example if you have different packages with different users on
both mashines, in one moment you will be not
in a position to follow all changes.
May be arise need for development of a small client-server system to support passwd-entryies identical on both mashines online
every moment.
Thanks again, Points are coming..

Regards, Stan