HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: NIS maps sync after password change
 
Operating System - HP-UX
        1840173
        Members
    
    
        2691
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              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
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            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
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- 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
 
04-16-2007 10:59 PM
04-16-2007 10:59 PM
			
				
					
						
							NIS maps sync after password change
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hey,
I have a NIS Master and two NIS Slaves in my system. I also configure password expiration every 3 weeks.
My problem is, if a user tries to login to one of the slaves and is prompted for a new password, it is being changed in the NIS Master. Therefore, until ypxfr is run from the slave, the passwords in the Master and in the Slaves are not the same and the user cannot login using any one of them.
my question is, can anyone think of a better solution than running the ypxfr cron job every minute?
Please help me with this..
Thanks,
Yair
		
		
	
	
	
I have a NIS Master and two NIS Slaves in my system. I also configure password expiration every 3 weeks.
My problem is, if a user tries to login to one of the slaves and is prompted for a new password, it is being changed in the NIS Master. Therefore, until ypxfr is run from the slave, the passwords in the Master and in the Slaves are not the same and the user cannot login using any one of them.
my question is, can anyone think of a better solution than running the ypxfr cron job every minute?
Please help me with this..
Thanks,
Yair
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-17-2007 01:54 AM
04-17-2007 01:54 AM
			
				
					
						
							Re: NIS maps sync after password change
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						You simply haven't configured the yppasswdd (yppasswd daemon) correctly. Having to do a ypxfr every minute is Looney Tunes; once per hour should more than suffice. Look in /etc/rc.config.d/namesvrs and make sure that the YPPASSWDD_OPTIONS (especially -m options) are properly set. Man yppasswdd for details.
					
				
			
			
				
		
		
	
	
	
	If it ain't broke, I can fix that.
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-17-2007 02:19 AM
04-17-2007 02:19 AM
			
				
					
						
							Re: NIS maps sync after password change
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
please keep in mind, that yppasswdd is needed only on the NIS master itself!
mfG Peter
		
		
	
	
	
please keep in mind, that yppasswdd is needed only on the NIS master itself!
mfG Peter
	The Universe is a pretty big place,
it's bigger than anything anyone has ever dreamed of before.
So if it's just us, seems like an awful waste of space, right?
    Jodie Foster in "Contact"
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-21-2007 09:10 AM
04-21-2007 09:10 AM
			
				
					
						
							Re: NIS maps sync after password change
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hey,
ypxfr only pulls the new copies of the maps from the master to slave, if there are any changes (ONLY if there are changes on the maps).
You can also do a yppush on the master server so that it will propagate the maps to the slave servers.
How about a script (a watchdog) on the master server which will check for the passwd changes and if there are changes, then it will just call a yppush to push it to the slave servers - not a very good solution!
The last NIS admin stuff I did was five years ago or more.
Regards,
Rasheed Tamton.
		
		
	
	
	
ypxfr only pulls the new copies of the maps from the master to slave, if there are any changes (ONLY if there are changes on the maps).
You can also do a yppush on the master server so that it will propagate the maps to the slave servers.
How about a script (a watchdog) on the master server which will check for the passwd changes and if there are changes, then it will just call a yppush to push it to the slave servers - not a very good solution!
The last NIS admin stuff I did was five years ago or more.
Regards,
Rasheed Tamton.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP