HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Hpux-11.23-Know the date of creation of a user
 
Operating System - HP-UX
        1840178
        Members
    
    
        3512
        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
 
11-23-2006 04:01 AM
11-23-2006 04:01 AM
			
				
					
						
							Hpux-11.23-Know the date of creation of a user
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
I have a hpux 11.23 operating system.I need know what is the date of creation of any user on the system?
Somebody know what command or how i can do this?
Please help
Thanks,
David
		
		
	
	
	
I have a hpux 11.23 operating system.I need know what is the date of creation of any user on the system?
Somebody know what command or how i can do this?
Please help
Thanks,
David
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-23-2006 04:09 AM
11-23-2006 04:09 AM
			
				
					
						
							Re: Hpux-11.23-Know the date of creation of a user
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi David:
You can't expect by inference, as for instance, the presence of other files and/or the timestamp associated with an untouched directory.
UNIX does *not* maintain a creation timestamp. The closet thing is the 'mtime' (modification) timestamp field (see 'stat(2)'.
Unfortunately, for your purpose, any modificaton to a file updates this value. Any addition or deletion of files in a directory updates the directory's 'mtime'.
Regards!
...JRF...
		
		
	
	
	
You can't expect by inference, as for instance, the presence of other files and/or the timestamp associated with an untouched directory.
UNIX does *not* maintain a creation timestamp. The closet thing is the 'mtime' (modification) timestamp field (see 'stat(2)'.
Unfortunately, for your purpose, any modificaton to a file updates this value. Any addition or deletion of files in a directory updates the directory's 'mtime'.
Regards!
...JRF...
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-23-2006 05:06 AM
11-23-2006 05:06 AM
			
				
					
						
							Re: Hpux-11.23-Know the date of creation of a user
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Shalom,
Best you can do is passwd -sa
This provides password expiration and related information.
If you need this information stop using useradd to add new users. Write a small shell script that writes to a log file when it creates users.
This also provides you a chance to customize the user environment.
SEP
		
		
	
	
	
Best you can do is passwd -sa
This provides password expiration and related information.
If you need this information stop using useradd to add new users. Write a small shell script that writes to a log file when it creates users.
This also provides you a chance to customize the user environment.
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
 
11-23-2006 05:35 AM
11-23-2006 05:35 AM
			
				
					
						
							Re: Hpux-11.23-Know the date of creation of a user
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi, David, the other way to "guess" the user creation date is to check .profile, .kshrc, .login file. If user have not changed those files, then they will keep the creation date as time stamp.
Yang
		
		
	
	
	
Yang
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