HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Simple shell script to report the number of days t...
 
Operating System - HP-UX
        1840138
        Members
    
    
        2224
        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
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		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
 
05-19-2009 01:56 PM
05-19-2009 01:56 PM
			
				
					
					
						Customer has non-trusted 11.23 HP-UX Systems and needs a simple shell script to run to let the user know the number of days before the password expires everytime they login. thanks in advance
EXAMPLE output:
Your password will expire within 24 hours.
Last successful login: EDT swa01jmptjx02.omc.hp.com
Last login: Tue May 12 18:21:01 2009 from swa01jmptjx02.omc.hp.com
					
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
EXAMPLE output:
Your password will expire within 24 hours.
Last successful login: EDT swa01jmptjx02.omc.hp.com
Last login: Tue May 12 18:21:01 2009 from swa01jmptjx02.omc.hp.com
	Kristina(:)
			
			
				Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-19-2009 02:14 PM
05-19-2009 02:14 PM
			
				
					
						
							Re: Simple shell script to report the number of days to the user before their passwords expires
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Will set the maximum days and warning days same work?
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-19-2009 02:48 PM
05-19-2009 02:48 PM
Solution
			
				
					
					
						Some other threads:
Clay's perl script:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1011216
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=9100
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1029126
Trusted:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1033725
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1098074
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1147597
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
Clay's perl script:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1011216
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=9100
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1029126
Trusted:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1033725
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1098074
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1147597
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