HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: Password not contain username
 
Operating System - HP-UX
        1840130
        Members
    
    
        3190
        Online
    
    
        110161
        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
 
11-08-2004 08:49 PM
11-08-2004 08:49 PM
			
				
					
						
							Password not contain username
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
Is it possible in a HP-UX 11.11 Trusted System that the user's password does not contain the user name?
I've tried to use the command /usr/lbin/modprpw and the file /etc/default/security without results.
Thanks
Matteo
		
		
	
	
	
Is it possible in a HP-UX 11.11 Trusted System that the user's password does not contain the user name?
I've tried to use the command /usr/lbin/modprpw and the file /etc/default/security without results.
Thanks
Matteo
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-08-2004 09:19 PM
11-08-2004 09:19 PM
			
				
					
						
							Re: Password not contain username
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi matteo,
Have you tried modprpw with triviality check?
(modprpw -m rstrpw=yes...)
All the best
Victor
		
		
	
	
	
Have you tried modprpw with triviality check?
(modprpw -m rstrpw=yes...)
All the best
Victor
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-08-2004 09:57 PM
11-08-2004 09:57 PM
			
				
					
						
							Re: Password not contain username
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Yes, but it doesn't work properly.
Es:
username: dipede
I have set the new password: dipedeD1
that contains username.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
Es:
username: dipede
I have set the new password: dipedeD1
that contains username.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-09-2004 12:51 AM
11-09-2004 12:51 AM
			
				
					
						
							Re: Password not contain username
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						There are several password requirements outlined on the passwd man page.
Unfortunately there is no way to accomplish what you are trying to do. Circular (and reverse circular) passwords are checked for, but the password in your example is not considered circular because there are extra characters.
From the man page:
+ A password must differ from the user's login name and any reverse or circular shift of that login name. For comparison purposes, an uppercase letter and its corresponding lowercase equivalent are treated as identical.
+ A new password must differ from the old one by at least three characters (one character for non super user if changed by the super user in a trusted system). For comparison purposes, an uppercase letter and its corresponding lowercase equivalent are treated as identical.
		
		
	
	
	
Unfortunately there is no way to accomplish what you are trying to do. Circular (and reverse circular) passwords are checked for, but the password in your example is not considered circular because there are extra characters.
From the man page:
+ A password must differ from the user's login name and any reverse or circular shift of that login name. For comparison purposes, an uppercase letter and its corresponding lowercase equivalent are treated as identical.
+ A new password must differ from the old one by at least three characters (one character for non super user if changed by the super user in a trusted system). For comparison purposes, an uppercase letter and its corresponding lowercase equivalent are treated as identical.
	"Downtime is a Crime."
			
			
				
			
			
			
			
			
			
		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