- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Password Synchronization
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2001 10:28 PM
08-22-2001 10:28 PM
Password Synchronization
We have just setup MC/Service guard cluster with 4 node. There will be lot of user who will use same login name in different node. We want to implement password synchronization for this cluster. So if any user update his / her password in node A then that same password would be synchronized in node B, C , D. Is it possible ? If so how ?
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2001 10:51 PM
08-22-2001 10:51 PM
Re: Password Synchronization
Up to me, there is no automatic way to synchronize /etc/passwd accross nodes ( even with MC / SG.
If you implement a mecanism of remote copy in conjunction with crontab jobs, even this could not solve the problem and can result in loss of new passwords changes.
Consider the worest example as follow :
nodes A B C D
/etc/passwd on A had changed at 10:30
/etc/passwd on B had Changed at 10:30
/etc/passwd on C had Changed at 10:30
/etc/passwd on D had Changed at 10:30
In this case, and due to concurrent process changing passwords, you need perhaps to develop a C ( or C++ ) program with a synchronizing mechanism (like semaphore) and the program role is to administer the password file on all nodes .
Steps:
1. Program (myPasswd) on only one node.
When invoked :
2. Decrease the value of it's semaphore ( for blocking other user from doing the changes unless it finishes ).
3. Password modification.
4. Replicate the /etc/passwd on all nodes using "Remote Copy"
5. Increase the value of it's semaphore ( for allowing other user doing changes to their passwords ).
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2001 10:56 PM
08-22-2001 10:56 PM
Re: Password Synchronization
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2001 10:57 PM
08-22-2001 10:57 PM
Re: Password Synchronization
Thanks for your answer.. I tried to write small shell script as like automatic FTP..But it also not worked. According to you if I copy /etc/passwd then root passwd will also be same for all node. WHich is not possible by our securities policy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2001 11:06 PM
08-22-2001 11:06 PM
Re: Password Synchronization
in this case, you may change point 4 replacing remote copy by issuing the passwd command on all nodes in the cluster. By this, the user initialize once his password and the program did the probagation of the password on all nodes.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2001 11:14 PM
08-22-2001 11:14 PM
Re: Password Synchronization
you really got the point; to copy your /etc/passwd to diffrent nodes is not the right way. You will have identical logins for root and other system accounts on all nodes and this was not acceptable to our security policy.
I use the LDAP-UX product from HP to have my user accounts on an LDAP Server (comes for free from HP) and keep my system accounts locally in /etc/passwd.
I installed LDAP as a separate MC/SG package which can run on different nodes so that my users can always login using the password stored on the LDAP server.
You will find the LDAP services on your 11.0 application CD's
The installation is straightforward and documented.
Regard
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2001 11:34 PM
08-22-2001 11:34 PM
Re: Password Synchronization
It looks ok.. Can you tell me how I should proceed. If I installs LDAP product in any node then how I will redirect users login in ldap database instead of /etc/passwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 12:00 AM
08-23-2001 12:00 AM
Re: Password Synchronization
you specify this in /etc/nsswitch.conf.
i.e.
passwd: files [NOTFOUND=continue] ldap
in this case login first looks in /etc/passwd. When it finds an entry for a user this user is authenticated aginst /etc/passwd otherwise against you ldap Server.
regard
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 02:53 AM
08-23-2001 02:53 AM
Re: Password Synchronization
just my 2 cents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 07:54 AM
08-23-2001 07:54 AM
Re: Password Synchronization
You can use rsync over ssh to distribute the passwd files.
Use a Makefile & make to update the /etc/passwd via rsync if /etc/passwd changed. Since make only takes action when /etc/poasswd actually changes, you can easily run "make" every minute.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2001 05:51 PM
08-23-2001 05:51 PM
Re: Password Synchronization
Would pls tell me in brief how I would do it.. Actually I am not getting any clue..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 12:46 AM
08-24-2001 12:46 AM
Re: Password Synchronization
U can go for NIS or NIS+..
I guess NIS is going to be pretty easy to set up.
But NIS+ is pretty secure..but then when UR BOX is not connected to the internet..NIS should be the best option..Though with security issues..it is very easy to setup and administer..
Also there is one more service that is not mentioned here.
""rdist"" this is a special service meant just for keeping the configurtion files synced.
I dont know if this is going to work for /etc/passwd or not but try it out..
Also there are some third party tools like RSA Keon Security and Authentication Software..
But this is going to cost U something..but a best bet..
Sundar