HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: NIS Password Controls
Operating System - Linux
        1839904
        Members
    
    
        3140
        Online
    
    
        110157
        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-29-2004 01:36 AM
04-29-2004 01:36 AM
			
				
					
						
							NIS Password Controls
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Dear all,
I've recently been trying to move away from our aging SCO NIS server and replace it with two cheap linux servers, to provide us with some redundancy (I can't believe how cheap those DL360's are!)
My problem is this, I want to use password aging and set minimum password lengths, which is nice and easy to do on our Windows domain, it looked as though I could do this in /etc/login.defs, but this appears to be a local file only and doesn't seem to apply to NIS.
Not only that, if a user changes their password on the NIS server, this password is only changed there, not on the NIS domain!
The howto's only tell you how to set it up and don't seem to mention such basic security mechanisms like password aging, does this exist with Linux NIS?
We're running SLES8 / UnitedLinux 1.0 at the moment, would prefer to make changes using Yast (to allow my Windows colleagues a chance) but more than happy to stick with CLI only!
Any help most appreciated!
Mike
		
		
	
	
	
I've recently been trying to move away from our aging SCO NIS server and replace it with two cheap linux servers, to provide us with some redundancy (I can't believe how cheap those DL360's are!)
My problem is this, I want to use password aging and set minimum password lengths, which is nice and easy to do on our Windows domain, it looked as though I could do this in /etc/login.defs, but this appears to be a local file only and doesn't seem to apply to NIS.
Not only that, if a user changes their password on the NIS server, this password is only changed there, not on the NIS domain!
The howto's only tell you how to set it up and don't seem to mention such basic security mechanisms like password aging, does this exist with Linux NIS?
We're running SLES8 / UnitedLinux 1.0 at the moment, would prefer to make changes using Yast (to allow my Windows colleagues a chance) but more than happy to stick with CLI only!
Any help most appreciated!
Mike
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 02:27 AM
04-29-2004 02:27 AM
			
				
					
						
							Re: NIS Password Controls
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						NIS might(I'm no expert) have a problem with user id and passwords that exceed 8 characters.
NIS solution: Set the settings for the local user on the NIS master server. Use yppush or whatever it is you use to push policy and data out to the NIS secondaries and you're done.
Better Solution: Use LDAP authentication. You can have a single window Linux LDAP server handle authentication for your entire network, including windows clients.
SEP
		
		
	
	
	
NIS solution: Set the settings for the local user on the NIS master server. Use yppush or whatever it is you use to push policy and data out to the NIS secondaries and you're done.
Better Solution: Use LDAP authentication. You can have a single window Linux LDAP server handle authentication for your entire network, including windows clients.
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2004 02:38 AM
04-29-2004 02:38 AM
			
				
					
						
							Re: NIS Password Controls
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I'm with SEP for LDAP:
it's easy and you can use it for authenticating a lot of software.
for changing password in nis use
#yppasswd
For password length you can set it up via PAM
see /etc/pam.d/system-auth
I don't know if linux nis implements password aging, but nis is an old stuff. Use ldap.
Peace, R.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
it's easy and you can use it for authenticating a lot of software.
for changing password in nis use
#yppasswd
For password length you can set it up via PAM
see /etc/pam.d/system-auth
I don't know if linux nis implements password aging, but nis is an old stuff. Use ldap.
Peace, R.
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
